Class Scroll
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
Scroll 组件
public class Scroll : BootstrapComponentBase, IComponent, IHandleAfterRender, IHandleEvent
- Inheritance
-
Scroll
- Implements
- Inherited Members
- Extension Methods
Constructors
Scroll()
public Scroll()
Properties
ChildContent
获得/设置 子组件
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
Height
获得/设置 组件高度
[Parameter]
public string? Height { get; set; }
Property Value
ScrollHoverWidth
获得/设置 滚动条 hover 状态下宽度 默认 null 未设置使用 ScrollOptions 配置类中的 ScrollHoverWidth
[Parameter]
public int? ScrollHoverWidth { get; set; }
Property Value
- int?
ScrollWidth
获得/设置 滚动条宽度 默认 null 未设置使用 ScrollOptions 配置类中的 ScrollWidth
[Parameter]
public int? ScrollWidth { get; set; }
Property Value
- int?
Width
获得/设置 组件宽度
[Parameter]
public string? Width { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder