BcDropDown
Description
The DropDown component allows users to select an option from a predefined list.
Parameters
Value
bool
The currently selected value in the DropDown.
ValueChanged
Action < bool >
Triggered when the selected value changes.
Options
List < TItem >
A collection of options available for selection in the DropDown.
DisplayText
Func
The text displayed for each option in the DropDown.
FallbackText
string?
The text displayed when no option is selected.
ChildContent
RenderFragment?
A template for displaying custom content instead of the default DisplayText.
PopupMaxHeight
Action < bool >
Defines the maximum height of the dropdown popup.
PopupMaxWidth
string
Defines the maximum width of the dropdown popup.
PopupMinWidth
string
Defines the minimum width of the dropdown popup.
PopUpColumnCount
int
Specifies the number of options displayed in a single row within the dropdown popup.
PopUpColumnCount
int
Specifies the number of options displayed in a single row within the dropdown popup.
BcContextMenuDirection
BcContextMenuDirection
Defines where the Context menu is shown relative to the BcDropDownComponent