Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.ISelectionListString.GetSelectionListStringAsync Method

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

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

Syntax

public Task<List<SelectionItem<string?>>> GetSelectionListStringAsync( bool showDefault );

Parameters

showDefault

Set to true to add a "(select)" entry at the top of the list, false otherwise.

Return Value

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

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