Files
AntdUI/doc/wiki/en/Control/Steps.md
2025-01-09 11:49:04 +08:00

1.4 KiB
Raw Blame History

HomeUpdateLogConfigThemeSVG

Steps

Steps 步骤条 👚

引导用户按照流程完成任务的导航条。

  • 默认属性Current
  • 默认事件ItemClick

属性

名称 描述 类型 默认值
ForeColor 文字颜色 Color? null
Current 指定当前步骤 从 0 开始记数。在子 Step 元素中,可以通过 status 属性覆盖状态 int 0
Status 指定当前步骤的状态 TStepState Process
Vertical 垂直方向 bool false
Items 数据 StepsItem[] StepsItem[] []
PauseLayout 暂停布局 bool false

事件

名称 描述 返回值 参数
ItemClick 点击项时发生 void MouseEventArgs e, StepsItem value

数据

StepsItem

名称 描述 类型 默认值
Name 名称 string? null
Icon 图标 Image? null
IconSvg 🔴 图标SVG string? null
IconSize 图标大小 int? null
Visible 是否显示 bool true
Title 标题 string 必填
SubTitle 子标题 string? null
Description 详情描述 string? null
Tag 用户定义数据 object? null