Class SegmentedOption<TValue>
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
SegmentedOption 类
public class SegmentedOption<TValue>
Type Parameters
TValue
- Inheritance
-
SegmentedOption<TValue>
- Inherited Members
- Extension Methods
Constructors
SegmentedOption()
public SegmentedOption()
Properties
Active
获得/设置 是否选中
public bool Active { get; set; }
Property Value
ChildContent
组件内容
public RenderFragment? ChildContent { get; set; }
Property Value
Icon
获得/设置 图标
public string? Icon { get; set; }
Property Value
IsDisabled
获得/设置 是否禁用 默认 false
public bool IsDisabled { get; set; }
Property Value
Text
获得/设置 显示名称
public string? Text { get; set; }
Property Value
Value
获得/设置 选项值
public TValue? Value { get; set; }
Property Value
- TValue