Table of Contents

Class SegmentedItem<TValue>

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

SegmentedItem 组件

public class SegmentedItem<TValue> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Type Parameters

TValue
Inheritance
SegmentedItem<TValue>
Implements
Inherited Members
Extension Methods

Constructors

SegmentedItem()

public SegmentedItem()

Properties

ChildContent

组件内容

[Parameter]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Icon

获得/设置 图标 默认 null

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

Property Value

string

IsActive

获得/设置 是否选中 默认 false

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

Property Value

bool

IsDisabled

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

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

Property Value

bool

Text

获得/设置 文字 默认 null

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

Property Value

string

Value

获得/设置 组件值 默认 null

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

Property Value

TValue

Methods

Dispose()

资源销毁方法

public void Dispose()

Exceptions

NotImplementedException

Dispose(bool)

资源销毁方法

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

OnInitialized()

protected override void OnInitialized()