Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFComponentExtender.GetSelectionListIntFromUIHintAsync Method

Returns a collection of integer/enum 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<int?>>?> GetSelectionListIntFromUIHintAsync( string? uiHint );

Parameters

uiHint

The component name found in a UIHintAttribute.

Return Value

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

Remarks

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

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