Table of Contents

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

bool

GroupName

获得/设置 分组名称

[Parameter]
public string? GroupName { get; set; }

Property Value

string

IsDisabled

获得/设置 是否禁用 默认 false

[Parameter]
public bool IsDisabled { get; set; }

Property Value

bool

Text

获得/设置 显示名称

[Parameter]
public string? Text { get; set; }

Property Value

string

Value

获得/设置 选项值

[Parameter]
public string? Value { get; set; }

Property Value

string

Methods

OnInitialized()

OnInitialized 方法

protected override void OnInitialized()