Class CarouselItem
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
CarouselItem 类
public class CarouselItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
CarouselItem
- Implements
- Inherited Members
- Extension Methods
Constructors
CarouselItem()
public CarouselItem()
Properties
Caption
获得/设置 Caption 文字 默认 null 可设置 CaptionTemplate 自定义
[Parameter]
public string? Caption { get; set; }
Property Value
CaptionClass
获得/设置 Caption 样式 默认 null
[Parameter]
public string? CaptionClass { get; set; }
Property Value
CaptionTemplate
获得/设置 Caption 模板 默认 null
[Parameter]
public RenderFragment? CaptionTemplate { get; set; }
Property Value
ChildContent
获得/设置 子组件 默认 null
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
GetCaptionClassString
获得 当前 Item Caption 样式字符串
public string? GetCaptionClassString { get; }
Property Value
Interval
获得/设置 Slider 切换时间间隔 默认 5000
[Parameter]
public int Interval { get; set; }
Property Value
Methods
Dispose()
Dispose 方法
public void Dispose()
Dispose(bool)
Dispose 方法
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
OnInitialized()
OnInitialized 方法
protected override void OnInitialized()