Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFComponentExtender.GetSelectionListStringFromUIHintAsync Method

Returns a collection of string values suitable for rendering in a DropDownList component.

Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public static Task<List<SelectionItem<string?>>?> GetSelectionListStringFromUIHintAsync( string uiHint );

Parameters

uiHint

The component name found in a UIHintAttribute.

Return Value

Returns a collection of string values suitable for rendering in a DropDownList component.

Remarks

This method can be used with string types to obtain a collection of values suitable for rendering in a DropDownList component. Components can implement the GetSelectionListStringAsync method to support retrieval of this collection.

See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview