Class SelectOption
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
SelectOption 组件
public class SelectOption : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
SelectOption
- Implements
- Inherited Members
- Extension Methods
Constructors
SelectOption()
public SelectOption()
Properties
Active
获得/设置 是否选中 默认 false
[Parameter]
public bool Active { get; set; }
Property Value
GroupName
获得/设置 分组名称
[Parameter]
public string? GroupName { get; set; }
Property Value
IsDisabled
获得/设置 是否禁用 默认 false
[Parameter]
public bool IsDisabled { get; set; }
Property Value
Text
获得/设置 显示名称
[Parameter]
public string? Text { get; set; }
Property Value
Value
获得/设置 选项值
[Parameter]
public string? Value { get; set; }
Property Value
Methods
OnInitialized()
OnInitialized 方法
protected override void OnInitialized()