Table of Contents

Class CircleBase

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

Circle 组件基类

public abstract class CircleBase : BootstrapModuleComponentBase, IComponent, IHandleAfterRender, IHandleEvent, IAsyncDisposable
Inheritance
CircleBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

CircleBase()

protected CircleBase()

Properties

ChildContent

获得/设置 子组件

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

Property Value

RenderFragment

CircleDiameter

获得/设置 圆形进度半径

protected string CircleDiameter { get; }

Property Value

string

CircleLength

获得 圆形周长

protected double CircleLength { get; }

Property Value

double

CircleR

获得/设置 半径

protected string CircleR { get; }

Property Value

string

ClassString

获得 组件样式字符串

protected virtual string? ClassString { get; }

Property Value

string

Color

获得/设置 组件进度条颜色

[Parameter]
public Color Color { get; set; }

Property Value

Color

DashString

获得/设置 Dash 字符串

protected string DashString { get; }

Property Value

string

PrevStyleString

获得 预览框 Style 属性

protected string? PrevStyleString { get; }

Property Value

string

ProgressClassString

获得 进度条样式

protected string? ProgressClassString { get; }

Property Value

string

ShowProgress

获得/设置 是否显示进度百分比 默认显示

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

Property Value

bool

StrokeWidth

获得/设置 进度条宽度 默认为 2

[Parameter]
public virtual int StrokeWidth { get; set; }

Property Value

int

Width

获得/设置 文件预览框宽度

[Parameter]
public virtual int Width { get; set; }

Property Value

int

Methods

OnParametersSet()

OnInitialized 方法

protected override void OnParametersSet()