🦄 Beautiful AntdUI

This commit is contained in:
Tom
2025-01-09 11:49:04 +08:00
parent a158a295ae
commit 73c81f2a0e
83 changed files with 457 additions and 166 deletions

View File

@@ -17,6 +17,6 @@ Alert 警告提示 👚
**TextTitle** | 标题 | string`?` | `null` |
**Radius** | 圆角 | int | 6 |
**BorderWidth** | 边框宽度 | float | 0F |
**Icon** | 样式 | [TType](Enum#ttype) | None |
**Icon** | 样式 | [TType](Enum.md#ttype) | None |
**Loop** | 文本轮播 | bool | false |
**LoopSpeed** 🔴 | 文本轮播速率 | int | 10 |

View File

@@ -25,7 +25,7 @@ Avatar 头像 👚
||||
**Image** | 图片 | Image`?` | `null` |
**ImageSvg** 🔴 | 图片SVG | string`?` | `null` |
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Cover |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Cover |
**PlayGIF** 🔴 | 播放GIF | bool | true |
||||
**Shadow** | 阴影大小 | int | 0 |

View File

@@ -14,10 +14,10 @@ Badge 徽标数 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** 🔴 | 自动大小 | bool | false |
**AutoSizeMode** 🔴 | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** 🔴 | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |
**State** | 状态 | [TState](Enum#tstate) | Default |
**State** | 状态 | [TState](Enum.md#tstate) | Default |
**Text** | 文本 | string`?` | `null` |
**TextAlign** 🔴 | 文本位置 | ContentAlignment | MiddleCenter |

View File

@@ -16,7 +16,7 @@ Button 按钮 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |
@@ -28,14 +28,14 @@ Button 按钮 👚
**DefaultBorderColor** | Default模式边框颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
||||
**WaveSize** | 波浪大小 `点击动画` | int | 4 |
**Radius** | 圆角 | int | 6 |
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Ghost** | 幽灵属性 `使按钮背景透明` | bool | false |
**ShowArrow** | 显示箭头 | bool | false |
**IsLink** | 箭头链接样式 | bool | false |
@@ -53,7 +53,7 @@ Button 按钮 👚
**IconHover** | 悬停图标 | Image`?` | `null` |
**IconHoverSvg** | 悬停图标SVG | string`?` | `null` |
**IconHoverAnimation** | 悬停图标动画时长 | int | 200 |
**IconPosition** | 按钮图标组件的位置 | [TAlignMini](Enum#talignmini) | Left |
**IconPosition** | 按钮图标组件的位置 | [TAlignMini](Enum.md#talignmini) | Left |
**IconSize** | 图标大小 `不设置为自动大小` | Size | 0 × 0 |
||||
|**切换** 🔴||
@@ -64,7 +64,7 @@ Button 按钮 👚
**ToggleIconHoverSvg** | 切换悬停图标SVG | string`?` | `null` |
**IconToggleAnimation** | 图标切换动画时长 | int | 200 |
**ToggleFore** | 切换文字颜色 | Color`?` | `null` |
**ToggleType** | 切换类型 | [TTypeMini](Enum#ttypemini)`?` | `null` |
**ToggleType** | 切换类型 | [TTypeMini](Enum.md#ttypemini)`?` | `null` |
**ToggleBack** | 切换背景颜色 | Color`?` | `null` |
**ToggleBackExtend** | 切换背景渐变色 | string`?` | `null` |
**ToggleBackHover** | 切换悬停背景颜色 | Color`?` | `null` |

View File

@@ -20,13 +20,13 @@ Carousel 走马灯 👚
||||
**DotSize** | 面板指示点大小 | Size | 28 × 4 |
**DotMargin** | 面板指示点边距 | int | 12 |
**DotPosition** | 面板指示点位置 | [TAlignMini](Enum#talignmini) | None |
**DotPosition** | 面板指示点位置 | [TAlignMini](Enum.md#talignmini) | None |
||||
**Radius** | 圆角 | int | 0 |
**Round** | 圆角样式 | bool | false |
||||
**Image** | 图片集合 `CarouselItem[]` | [CarouselItem[]](#carouselitem) | [] |
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Cover |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Cover |
**SelectIndex** | 选择序号 | int | 0 |
### 事件

View File

@@ -14,7 +14,7 @@ Checkbox 多选框 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |

View File

@@ -16,8 +16,8 @@ ColorPicker 颜色选择器 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**Mode** 🔴 | 颜色模式 | [TColorMode](Enum#tcolormode) | Hex |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
**Mode** 🔴 | 颜色模式 | [TColorMode](Enum.md#tcolormode) | Hex |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |

View File

@@ -20,7 +20,7 @@ ContextMenuStrip 右键菜单
**CallSleep** 🔴 | 延迟回调 | int |0|
**UFocus** 🔴 | 是否抢占焦点 | bool |false|
**Location** 🔴 | 自定义坐标 | Point`?` |`null`|
**Align** 🔴 | 方向 | [TAlignFrom](Enum#talignfrom) | BR |
**Align** 🔴 | 方向 | [TAlignFrom](Enum.md#talignfrom) | BR |
**Call** | 点击回调 | Action<ContextMenuStripItem> | `必填` |
### 数据

View File

@@ -20,7 +20,7 @@ DatePicker 日期选择框 👚
**MaxDate** 🔴 | 最大日期 | DateTime`?` | `null` |
**Presets** | 预置菜单 | object[] | [] |
||||
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |
@@ -75,7 +75,7 @@ DatePickerRange 日期范围选择框 👚
**PlaceholderStart** | 显示的水印文本S | string`?` | `null` |
**PlaceholderEnd** | 显示的水印文本E | string`?` | `null` |
**SwapSvg** 🔴 | 交换图标SVG | string`?` | `null` |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |

View File

@@ -14,7 +14,7 @@ Divider 分割线 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Vertical** | 是否竖向 | bool | false |
**Orientation** | 方向 | [TOrientation](Enum#torientation) | None |
**Orientation** | 方向 | [TOrientation](Enum.md#torientation) | None |
**OrientationMargin** | 文本与边缘距离 `取值 0~1` | float | 0.02F |
**TextPadding** | 文本与线距离 `同等字体大小` | float | 0.4F |
**Thickness** | 厚度 | float | 0.6F |

View File

@@ -17,7 +17,7 @@ Drawer 抽屉
**Mask** | 是否展示遮罩 | bool | true |
**MaskClosable** | 点击蒙层是否允许关闭 | bool | true |
**Padding** | 边距 | int | 24 |
**Align** | 方向 | [TAlignMini](Enum#talignmini) | Right |
**Align** | 方向 | [TAlignMini](Enum.md#talignmini) | Right |
**Dispose** 🔴 | 是否释放 | bool | true |
**Tag** | 用户定义数据 | object`?` | `null` |
**OnLoad** 🔴 | 加载回调 | Action`?` | `null` |

View File

@@ -14,8 +14,8 @@ Dropdown 选择器 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**ListAutoWidth** | 列表自动宽度 | bool | true |
**Trigger** | 触发下拉的行为 | [Trigger](Enum#trigger) | Click |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Trigger** | 触发下拉的行为 | [Trigger](Enum.md#trigger) | Click |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**DropDownPadding** 🔴 | 下拉边距 | Size | 12, 5 |

View File

@@ -15,7 +15,7 @@ FloatButton 悬浮按钮
**Form** | 所属窗口 | Form | `必填` |
**Font** | 字体 | Font`?` ||
**Control** | 所属控件 | Control`?` ||
**Align** | 方向 | [TAlign](Enum#talign) | BR |
**Align** | 方向 | [TAlign](Enum.md#talign) | BR |
**Vertical** | 是否垂直方向 | bool | true |
**TopMost** | 是否置顶 | bool | false |
**Size** | 大小 | int | 40 |
@@ -36,7 +36,7 @@ FloatButton 悬浮按钮
**Fore** 🔴 | 文字颜色 | Color`?` | `null` |
**Tooltip** | 气泡的内容 | string`?` | `null` |
**Round** 🔴 | 圆角样式 | bool | true |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Radius** | 圆角 | int | 6 |
||||
**Icon** | 自定义图标 | Image`?` | `null` |

View File

@@ -11,6 +11,6 @@ FlowPanel 流动布局 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoScroll** | 是否显示滚动条 | bool | false |
**Align** | 布局方向 | [TAlignFlow](Enum#talignflow) | LeftCenter |
**Align** | 布局方向 | [TAlignFlow](Enum.md#talignflow) | LeftCenter |
**Gap** | 间距 | int | 0 |
**PauseLayout** | 暂停布局 | bool | false ||

View File

@@ -22,7 +22,7 @@ Input 输入框 👚
**BackActive** | 激活背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
**BorderColor** | 边框颜色 | Color`?` | `null` |
@@ -37,7 +37,7 @@ Input 输入框 👚
**WaveSize** | 波浪大小 `点击动画` | int | 4 |
**Radius** | 圆角 | int | 6 |
**Round** | 圆角样式 | bool | false |
**Status** | 设置校验状态 | [TType](Enum#ttype) | None |
**Status** | 设置校验状态 | [TType](Enum.md#ttype) | None |
||||
**AllowClear** | 支持清除 | bool | false |
**AutoScroll** | 显示滚动条 | bool | false |

View File

@@ -24,8 +24,8 @@ Menu 导航菜单 👚
**ShowSubBack** | 显示子菜单背景 | bool | false |
**Unique** 🔴 | 只保持一个子菜单的展开 | bool | false |
||||
**Theme** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** 🔴 | 菜单类型 | [TMenuMode](Enum#tmenumode) | Inline |
**Theme** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Mode** 🔴 | 菜单类型 | [TMenuMode](Enum.md#tmenumode) | Inline |
**AutoCollapse** | 自动折叠 | bool | false |
**Collapsed** | 是否折叠 | bool | false |
||||

View File

@@ -15,12 +15,12 @@ Message 全局提示
**ID** 🔴 | ID | string`?` | `null` |
**Form** | 所属窗口 | Form | `必填` |
**Text** | 文本 | string | `必填` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Font** | 字体 | Font | `null` |
**Radius** | 圆角 | int | 6 |
**AutoClose** | 自动关闭时间(秒)`0等于不关闭` | int | 6 |
**ClickClose** 🔴 | 是否可以点击关闭 | bool | true |
**Align** 🔴 | 方向 | [TAlignFrom](Enum#talignfrom) | Top |
**Align** 🔴 | 方向 | [TAlignFrom](Enum.md#talignfrom) | Top |
**Padding** 🔴 | 边距 | Size | 12, 9 |
**ShowInWindow** 🔴 | 弹出在窗口 | bool | false |
**Call** | 加载回调 | Action<Config>`?` | `null` |

View File

@@ -17,7 +17,7 @@ Modal 对话框
**Content** | 控件/内容 | object | `必填` |
**Width** | 消息框宽度 | int | 416 |
**Font** | 字体 | Font`?` | `null` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Keyboard** | 是否支持键盘 esc 关闭 | bool | true |
**Mask** | 是否展示遮罩 | bool | true |
**MaskClosable** | 点击蒙层是否允许关闭 | bool | true |
@@ -29,7 +29,7 @@ Modal 对话框
**CancelText** | 取消按钮文字 | string | "取消" |
**CancelFont** 🔴 | 取消按钮字体 | Font`?` | `null` |
**OkText** | 确认按钮文字 | string | "确定" |
**OkType** | 确认按钮类型 | [TTypeMini](Enum#ttypemini) | Primary |
**OkType** | 确认按钮类型 | [TTypeMini](Enum.md#ttypemini) | Primary |
**OkFont** 🔴 | 确认按钮字体 | Font`?` | `null` |
**OnOk** | 确定回调 | `Func<Config, bool>?` | `null` |
||||
@@ -48,7 +48,7 @@ Modal 对话框
:--|:--|:--|:--|
**Name** | 按钮名称 | string | `必填` |
**Text** | 按钮文字 | string | `必填` |
**Type** | 按钮类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 按钮类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Fore** | 文字颜色 | Color`?` | `null` |
**Back** | 背景颜色 | Color`?` | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -14,7 +14,7 @@ Notification 通知提醒框
:--|:--|:--|:--|
**ID** 🔴 | ID | string`?` | `null` |
**Form** | 所属窗口 | Form | `必填` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Font** | 字体 | Font`?` | `null` |
**Text** | 文本 | string | `必填` |
|||||
@@ -23,7 +23,7 @@ Notification 通知提醒框
**FontStyleTitle** 🔴 | 标题字体样式 | FontStyle`?` | `null` |
|||||
**Radius** | 圆角 | int | 10 |
**Align** | 方向 | [TAlignFrom](Enum#talignfrom) | Right |
**Align** | 方向 | [TAlignFrom](Enum.md#talignfrom) | Right |
**Padding** 🔴 | 边距 | Size | 24, 20 |
**AutoClose** | 自动关闭时间(秒)`0等于不关闭` | int | 6 |
**ClickClose** 🔴 | 是否可以点击关闭 | bool | true |

View File

@@ -13,7 +13,7 @@ PageHeader 页头 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Mode** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Loading** | 加载状态 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -15,7 +15,7 @@ Panel 面板 👚
:--|:--|:--|:--|
**Back** | 背景颜色 | Color`?` | `null` |
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
||||
**BorderWidth** | 边框宽度 | float | 0F |
@@ -23,7 +23,7 @@ Panel 面板 👚
**BorderStyle** 🔴 | 边框样式 | DashStyle | Solid |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**Shadow** | 阴影大小 | int | 0 |
**ShadowColor** | 阴影颜色 | Color`?` | `null` |
@@ -32,5 +32,5 @@ Panel 面板 👚
**ShadowOpacityAnimation** 🔴 | 阴影透明度动画使能 | bool | false |
**ShadowOffsetX** | 阴影偏移X | int | 0 |
**ShadowOffsetY** | 阴影偏移Y | int | 0 |
**ShadowAlign** 🔴 | 阴影方向 | [TAlignMini](Enum#talignmini) | None |
**ShadowAlign** 🔴 | 阴影方向 | [TAlignMini](Enum.md#talignmini) | None |
**padding** 🔴 | 内边距 | Padding | 0, 0, 0, 0 |

View File

@@ -18,7 +18,7 @@ Popover 气泡卡片
**Font** | 字体 | Font |`null`|
**AutoClose** |自动关闭时间(秒)`0等于不关闭` | int |0|
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | Bottom |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | Bottom |
**ArrowSize** | 箭头大小 | int | 8 |
**Offset** | 偏移量 | Rectangle / RectangleF | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -18,13 +18,13 @@ Progress 进度条 👚
**Fill** | 进度条颜色 | Color`?` | `null` |
||||
**Radius** | 圆角 | int | 0 |
**Shape** 🔴 | 形状 | [TShapeProgress](Enum#tshapeprogress) | Round |
**Shape** 🔴 | 形状 | [TShapeProgress](Enum.md#tshapeprogress) | Round |
**IconRatio** | 图标比例 | float | 0.7F |
**ValueRatio** 🔴 | 进度条比例 | float | 0.4F |
||||
**UseSystemText** 🔴 | 使用系统文本 | bool | false |
**ShowTextDot** 🔴 | 显示进度文本小数点位数 | int | 0 |
**State** | 样式 | [TType](Enum#ttype) | None |
**State** | 样式 | [TType](Enum.md#ttype) | None |
**ShowInTaskbar** | 任务栏中显示进度 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -14,7 +14,7 @@ Radio 单选框 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |

View File

@@ -30,11 +30,11 @@ Segmented 分段控制器 👚
||||
**Gap** | 间距 | int | 0 |
**Vertical** | 是否竖向 | bool | false |
**IconAlign** 🔴 | 图标对齐方向 | [TAlignMini](Enum#talignmini) | Top |
**IconAlign** 🔴 | 图标对齐方向 | [TAlignMini](Enum.md#talignmini) | Top |
**IconRatio** 🔴 | 图标比例 | float`?` | `null` |
**IconGap** 🔴 | 图标与文字间距比例 | float | 0.2F |
||||
**BarPosition** 🔴 | 线条位置 | [TAlignMini](Enum#talignmini) | None |
**BarPosition** 🔴 | 线条位置 | [TAlignMini](Enum.md#talignmini) | None |
**BarSize** 🔴 | 条大小 | float | 3F |
**BarPadding** 🔴 | 条边距 | int | 0 |
**BarRadius** 🔴 | 条圆角 | int | 0 |

View File

@@ -15,7 +15,7 @@ Select 选择器 👚
:--|:--|:--|:--|
**List** | 是否列表样式 `与Dropdown一样` | bool | false |
**ListAutoWidth** | 是否列表自动宽度 | bool | true |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**DropDownPadding** 🔴 | 下拉边距 | Size | 12, 5 |
@@ -53,7 +53,7 @@ Select 多选器 👚
:--|:--|:--|:--|
**List** | 是否列表样式 `与Dropdown一样` | bool | false |
**ListAutoWidth** | 是否列表自动宽度 | bool | true |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**MaxChoiceCount** | 最大选中数量 | int | 0 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |

View File

@@ -21,7 +21,7 @@ Slider 滑动输入条 👚
**MaxValue** | 最大值 | int | 100 |
**Value** | 当前值 | int | 0 |
||||
**Align** | 方向 | [TAlignMini](Enum#talignmini) | Left |
**Align** | 方向 | [TAlignMini](Enum.md#talignmini) | Left |
**ShowValue** | 是否显示数值 | bool | false |
**LineSize** | 线条粗细 | int | 4 |
**DotSize** | 点大小 | int | 10 |

View File

@@ -16,7 +16,7 @@ Steps 步骤条 👚
**ForeColor** | 文字颜色 | Color`?` | `null` |
||||
**Current** | 指定当前步骤 `从 0 开始记数。在子 Step 元素中,可以通过 status 属性覆盖状态` | int | 0 |
**Status** | 指定当前步骤的状态 | [TStepState](Enum#tstepstate) | Process |
**Status** | 指定当前步骤的状态 | [TStepState](Enum.md#tstepstate) | Process |
**Vertical** | 垂直方向 | bool | false |
**Items** | 数据 `StepsItem[]` | [StepsItem[]](#stepsitem) | [] |
||||

View File

@@ -27,10 +27,10 @@ Table 表格 👚
**EnableHeaderResizing** | 手动调整列头宽度 | bool | false |
**ColumnDragSort** | 列拖拽排序 | bool | false |
**LostFocusClearSelection** | 焦点离开清空选中 | bool | false |
**AutoSizeColumnsMode** 🔴 | 列宽自动调整模式 | [ColumnsMode](Enum#columnsmode) | Auto |
**AutoSizeColumnsMode** 🔴 | 列宽自动调整模式 | [ColumnsMode](Enum.md#columnsmode) | Auto |
||||
**ClipboardCopy** | 行复制 | bool | true |
**EditMode** | 编辑模式 | [TEditMode](Enum#teditmode) | None |
**EditMode** | 编辑模式 | [TEditMode](Enum.md#teditmode) | None |
**ShowTip** | 省略文字提示 | bool | true |
**DefaultExpand** 🔴 | 默认是否展开 `树` | bool | false |
||||
@@ -180,7 +180,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Fore** | 字体颜色 | Color`?` ||
**Fill** | 颜色 | Color`?` ||
||||
**State** | 状态 | [TState](Enum#tstate) | Default |
**State** | 状态 | [TState](Enum.md#tstate) | Default |
**Text** | 文本 | string`?` |
#### CellTag
@@ -193,7 +193,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Back** | 背景颜色 | Color`?` ||
**BorderWidth** | 边框宽度 | float |1F|
||||
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Text** | 文本 | string`?` ||
#### CellImage
@@ -212,7 +212,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Image** | 图片 | Image`?` | `null` |
**ImageSvg** | 图片SVG | string`?` | `null` |
**FillSvg** | SVG填充颜色 | Color`?` ||
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Fill |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**Tooltip** 🔴 | 文本提示 | string`?` ||
@@ -240,12 +240,12 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**ImageHoverSvg** 🔴 | 悬停图像SVG | string`?` | `null` |
**ImageHoverAnimation** 🔴 | 悬停图像动画时长 | int | 200 |
||||
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
**Ghost** | 幽灵属性 `使按钮背景透明` | bool |false |
**ShowArrow** | 显示箭头 | bool |false |
**IsLink** | 箭头链接样式 | bool |false |
||||
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Text** | 文本 | string`?` ||
#### CellLink
@@ -272,7 +272,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Fill** | 进度条颜色 | Color`?` ||
||||
**Radius** | 圆角 | int |6|
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
||||
**Value** | 进度条 `0.0-1.0` | float |0F|

View File

@@ -22,7 +22,7 @@ Tabs 标签页 👚 [beta]
**Alignment** | 位置 | TabAlignment |Top|
**Centered** 🔴 | 标签居中展示 | bool | false |
||||
**TypExceed** 🔴 | 超出UI类型 | [TabTypExceed](Enum#tabtypexceed) | Button |
**TypExceed** 🔴 | 超出UI类型 | [TabTypExceed](Enum.md#tabtypexceed) | Button |
**ScrollBack** 🔴 | 滚动条颜色 | Color`?` | `null` |
**ScrollBackHover** 🔴 | 滚动条悬停颜色 | Color`?` | `null` |
**ScrollFore** 🔴 | 滚动条文本颜色 | Color`?` | `null` |
@@ -32,7 +32,7 @@ Tabs 标签页 👚 [beta]
**IconRatio** | 图标比例 | float | 0.7F |
**ItemSize** 🔴 | 自定义项大小 | int? | `null` |
||||
**Type** | 类型 | [TabType](Enum#tabtype) | Line |
**Type** | 类型 | [TabType](Enum.md#tabtype) | Line |
**Style** | 样式类型 | [IStyle](#istyle) | `非空` |
||||
**TabMenuVisible** | 是否显示头 | bool | true |

View File

@@ -16,18 +16,18 @@ Tag 标签页 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
||||
**Radius** | 圆角 | int | 6 |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**CloseIcon** | 是否显示关闭图标 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -17,7 +17,7 @@ TimePicker 时间选择框 👚
||||
**Value** | 控件当前日期 | TimeSpan | `00:00:00` |
||||
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |

View File

@@ -39,6 +39,6 @@ Timeline 时间轴 👚
**IconSvg** 🔴 | 图标SVG | string`?` | `null` |
**Visible** | 是否显示 | bool | true |
**Description** | 详情描述 | string`?` | `null` |
**Type** | 颜色类型 | [TTypeMini](Enum#ttypemini) | Primary |
**Type** | 颜色类型 | [TTypeMini](Enum.md#ttypemini) | Primary |
**Fill** | 填充颜色 | Color`?` | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -17,7 +17,7 @@ Tooltip 文字提示 👚
**Text** | 文本 | string | `必填` |
||||
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
**CustomWidth** 🔴 | 设定宽度 | int`?` | `null` |
@@ -25,8 +25,8 @@ Tooltip 文字提示 👚
名称 | 描述 | 返回值 | 参数 |
:--|:--|:--|:--|
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, [TAlign](Enum#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, Rectangle rect `偏移量,用于容器内项`, [TAlign](Enum#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, [TAlign](Enum.md#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, Rectangle rect `偏移量,用于容器内项`, [TAlign](Enum.md#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | [TooltipConfig](#tooltipconfig) `配置` |
@@ -47,6 +47,6 @@ Tooltip 文字提示 👚
:--|:--|:--|:--|
**Font** | 字体 | Color`?` | `null` |
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
**CustomWidth** 🔴 | 设定宽度 | int`?` | `null` |

View File

@@ -21,7 +21,7 @@ UploadDragger 拖拽上传 👚
**Back** | 背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**IconRatio** | 图标比例 | float | 1.92F |
**Icon** | 图标 | Image`?` | `null` |

View File

@@ -13,7 +13,7 @@ WindowBar 窗口栏 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Mode** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Loading** | 加载状态 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -10,7 +10,7 @@ Name | Description | Type | Default Value |
:--|:--|:--|:--|
**AutoHandDpi** | Auto process DPI enable | bool | true |
**Dark** | Dark Mode | bool | false |
**Mode** | Color mode | [TAMode](../Control/Enum#tamode) | Auto |
**Mode** | Color mode | [TAMode](../Control/Enum.md#tamode) | Auto |
**IsMax** 🔴 | Is it maximizing | bool | false `ReadOnly` |
### Method

View File

@@ -12,7 +12,7 @@ Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Resizable** | Adjust window size to enable | bool | true |
**Dark** | Dark Mode | bool | false |
**Mode** | Color mode | [TAMode](../Control/Enum#tamode) | Auto
**Mode** | Color mode | [TAMode](../Control/Enum.md#tamode) | Auto
**Radius** | Rounded corners | int | 0 |
||||
**UseDwm** 🔴 | `dwmapi` | bool | true |

View File

@@ -12,7 +12,7 @@ Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Resizable** | Adjust window size to enable | bool | true |
**Dark** | Dark Mode | bool | false |
**Mode** | Color mode | [TAMode](../Control/Enum#tamode) | Auto
**Mode** | Color mode | [TAMode](../Control/Enum.md#tamode) | Auto
**ScreenRectangle** | Get or set the screen area of the form | Rectangle |
### Method

View File

@@ -1,5 +1,120 @@
[Home](Home.md)・[UpdateLog](UpdateLog.md)・[Config](Config.md)・[Theme](Theme.md)・[SVG](SVG.md)
### `1.8.2` 2025-01-09
- SelectMultiple multiline style, AutoHeight
- Button/Switch/ColorPicker Focus Style
- Button LoadingRespondClick
- Button Loading -1 support
- Style Clear Clear Style
- ✍️ ShowInTaskbar size change
- ✍️ Input keyboard message
- ✍️ Alert text on the side
- ✍️ Shrink ShowInTaskbar window
- ✍️ Enrich Preview OnBtns return content, optimize experience
- ✍️ LabelTime internationalization
- ✍️ Unified rounded corner calculation
### `1.8.1` 2025-01-07
[To remove WindowBar, use PageHeader+ShowButton]
- Menu Gap
- Select filtering weight
- PageHeader UseSubCenter
- ✍️ Message and other high-frequency rendering misalignment
- ✍️ Input cannot tab to the next one
- ✍️ Standardize Table Cell Spacing
- ✍️ Drawer suppresses flicker
- ✍️ Window ShowInTaskbar frameless exception
- ✍️ Input scrollbar hidden style is invalid
- ✍️ Control Tab Focus Issue
### `1.8.0` 2024-12-31 🐍
- Date logo function alignment
- Horizontal scrolling shortcut key
- PageHeader SubFontBackExtend
- PageHeader Full Screen
- Switch Loading
- ✍️ Drawer rendering issue
- ✍️ Partial components have dropped frames
- ✍️ Old issues with the OS framework
- ✍️ Tree drag and drop
### `1.7.14` 2024-12-26
- UploadDragger Click to select file ClickHand Click to upload and other attributes
- UploadDragger Drag and Drop Folder
- ✍️ Button responds to clicks even after the mouse is away
- ✍️ Optimize PageHeader CancelButton interaction
- ✍️ Abnormal after Tabs Clear
- ✍️ Spin does not work in Drawer
- ✍️ Modal BtnHeight=0 Keyboard is invalid
- ✍️ Tabs Card2
### `1.7.13` 2024-12-20
- Table sorting mode SortModeChanged
- Click on Configure on the touch screen TouchClickEnabled
- Table SelectIndexChanged
- Date logo adds string and rounded corner support
- Modal drag and drop window
- ✍️ Table PART exception
- ✍️ Layout control initialization issue
### `1.7.12` 2024-12-16
- ✍️ Alert Loop Empty Text Stuck
- ✍️ Tree interaction adds click icon
- ✍️ Press Enter button with multiple triggers
- ✍️ Popover custom control internal TopMost
- ✍️ Tree still responds to events after hiding
- ✍️ Label automatic width null value
- ✍️ Timeline Gap
### `1.7.11` 2024-12-11
- ✍️ DPI processing hidden exception
### `1.7.10` 2024-12-09
- Timeline/Steps Open Gap
- Table adds DropDown dropdown menu
- ✍️ Button press triggers two clicks
- ✍️ Table editing with multiple rows, different editing modes to restore old values, RowHoverBg transparent flashing
- ✍️ Pagination rounded corner
- ✍️ Progress size 0 is abnormal
### `1.7.9` 2024-12-03
- VirtualPanel single refresh
- ✍️ Multiple CellTexts in Table are misaligned
- ✍️ DatePicker Format parsing exception
- ✍️ Table cell modification, error reported when binding data type to uint16
- ✍️ ProcessCmdKey
- ✍️ Tree without data does not trigger Paint
- ✍️ Button dropdown arrow centered
- ✍️ Input up and down abnormality
- ✍️ DateChanged triggered multiple times
### `1.7.8` 2024-11-28
- Table adds disabled rows
- Badge DotRatio/Gap
- Menu IconActive
- IconState
- ✍️ Table editing mode replication exception
- ✍️ Date selection maximum value
- ✍️ ColorPicker AllowClear
- ✍️ Table ToVNet Slot
- ✍️ Data bindings do not support AOT
- ✍️ Window size change
- ✍️ Spliter DPI exception
- ✍️ Loading Add Background
- ✍️ Concurrent image rendering
- ✍️ Public Table ICell container
- ✍️ Color card collection
### `1.7.7` 2024-11-25
- Table multi row selection
- Table Processing Shortcut Keys
- Table ToVNet Slot
- Menu scrollbar collides with screen edge
- ✍️ Table VNet cannot apply editing
- ✍️ Button background overlap
- ✍️ Adapt to Data Binding
- ✍️ TreeCheckdEventArgs value
### `1.7.6` 2024-11-21
- ✍️ Table Check box not displayed
- ✍️ Tree Parent level multiple-choice status exception

View File

@@ -17,6 +17,6 @@ Alert 警告提示 👚
**TextTitle** | 标题 | string`?` | `null` |
**Radius** | 圆角 | int | 6 |
**BorderWidth** | 边框宽度 | float | 0F |
**Icon** | 样式 | [TType](Enum#ttype) | None |
**Icon** | 样式 | [TType](Enum.md#ttype) | None |
**Loop** | 文本轮播 | bool | false |
**LoopSpeed** 🔴 | 文本轮播速率 | int | 10 |

View File

@@ -25,7 +25,7 @@ Avatar 头像 👚
||||
**Image** | 图片 | Image`?` | `null` |
**ImageSvg** 🔴 | 图片SVG | string`?` | `null` |
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Cover |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Cover |
**PlayGIF** 🔴 | 播放GIF | bool | true |
||||
**Shadow** | 阴影大小 | int | 0 |

View File

@@ -14,10 +14,10 @@ Badge 徽标数 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** 🔴 | 自动大小 | bool | false |
**AutoSizeMode** 🔴 | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** 🔴 | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |
**State** | 状态 | [TState](Enum#tstate) | Default |
**State** | 状态 | [TState](Enum.md#tstate) | Default |
**Text** | 文本 | string`?` | `null` |
**TextAlign** 🔴 | 文本位置 | ContentAlignment | MiddleCenter |

View File

@@ -16,7 +16,7 @@ Button 按钮 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |
@@ -28,14 +28,14 @@ Button 按钮 👚
**DefaultBorderColor** | Default模式边框颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
||||
**WaveSize** | 波浪大小 `点击动画` | int | 4 |
**Radius** | 圆角 | int | 6 |
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Ghost** | 幽灵属性 `使按钮背景透明` | bool | false |
**ShowArrow** | 显示箭头 | bool | false |
**IsLink** | 箭头链接样式 | bool | false |
@@ -53,7 +53,7 @@ Button 按钮 👚
**IconHover** | 悬停图标 | Image`?` | `null` |
**IconHoverSvg** | 悬停图标SVG | string`?` | `null` |
**IconHoverAnimation** | 悬停图标动画时长 | int | 200 |
**IconPosition** | 按钮图标组件的位置 | [TAlignMini](Enum#talignmini) | Left |
**IconPosition** | 按钮图标组件的位置 | [TAlignMini](Enum.md#talignmini) | Left |
**IconSize** | 图标大小 `不设置为自动大小` | Size | 0 × 0 |
||||
|**切换** 🔴||
@@ -64,7 +64,7 @@ Button 按钮 👚
**ToggleIconHoverSvg** | 切换悬停图标SVG | string`?` | `null` |
**IconToggleAnimation** | 图标切换动画时长 | int | 200 |
**ToggleFore** | 切换文字颜色 | Color`?` | `null` |
**ToggleType** | 切换类型 | [TTypeMini](Enum#ttypemini)`?` | `null` |
**ToggleType** | 切换类型 | [TTypeMini](Enum.md#ttypemini)`?` | `null` |
**ToggleBack** | 切换背景颜色 | Color`?` | `null` |
**ToggleBackExtend** | 切换背景渐变色 | string`?` | `null` |
**ToggleBackHover** | 切换悬停背景颜色 | Color`?` | `null` |

View File

@@ -20,13 +20,13 @@ Carousel 走马灯 👚
||||
**DotSize** | 面板指示点大小 | Size | 28 × 4 |
**DotMargin** | 面板指示点边距 | int | 12 |
**DotPosition** | 面板指示点位置 | [TAlignMini](Enum#talignmini) | None |
**DotPosition** | 面板指示点位置 | [TAlignMini](Enum.md#talignmini) | None |
||||
**Radius** | 圆角 | int | 0 |
**Round** | 圆角样式 | bool | false |
||||
**Image** | 图片集合 `CarouselItem[]` | [CarouselItem[]](#carouselitem) | [] |
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Cover |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Cover |
**SelectIndex** | 选择序号 | int | 0 |
### 事件

View File

@@ -14,7 +14,7 @@ Checkbox 多选框 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |

View File

@@ -16,8 +16,8 @@ ColorPicker 颜色选择器 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**Mode** 🔴 | 颜色模式 | [TColorMode](Enum#tcolormode) | Hex |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
**Mode** 🔴 | 颜色模式 | [TColorMode](Enum.md#tcolormode) | Hex |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |

View File

@@ -20,7 +20,7 @@ ContextMenuStrip 右键菜单
**CallSleep** 🔴 | 延迟回调 | int |0|
**UFocus** 🔴 | 是否抢占焦点 | bool |false|
**Location** 🔴 | 自定义坐标 | Point`?` |`null`|
**Align** 🔴 | 方向 | [TAlignFrom](Enum#talignfrom) | BR |
**Align** 🔴 | 方向 | [TAlignFrom](Enum.md#talignfrom) | BR |
**Call** | 点击回调 | Action<ContextMenuStripItem> | `必填` |
### 数据

View File

@@ -20,7 +20,7 @@ DatePicker 日期选择框 👚
**MaxDate** 🔴 | 最大日期 | DateTime`?` | `null` |
**Presets** | 预置菜单 | object[] | [] |
||||
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |
@@ -75,7 +75,7 @@ DatePickerRange 日期范围选择框 👚
**PlaceholderStart** | 显示的水印文本S | string`?` | `null` |
**PlaceholderEnd** | 显示的水印文本E | string`?` | `null` |
**SwapSvg** 🔴 | 交换图标SVG | string`?` | `null` |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |

View File

@@ -14,7 +14,7 @@ Divider 分割线 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Vertical** | 是否竖向 | bool | false |
**Orientation** | 方向 | [TOrientation](Enum#torientation) | None |
**Orientation** | 方向 | [TOrientation](Enum.md#torientation) | None |
**OrientationMargin** | 文本与边缘距离 `取值 0~1` | float | 0.02F |
**TextPadding** | 文本与线距离 `同等字体大小` | float | 0.4F |
**Thickness** | 厚度 | float | 0.6F |

View File

@@ -17,7 +17,7 @@ Drawer 抽屉
**Mask** | 是否展示遮罩 | bool | true |
**MaskClosable** | 点击蒙层是否允许关闭 | bool | true |
**Padding** | 边距 | int | 24 |
**Align** | 方向 | [TAlignMini](Enum#talignmini) | Right |
**Align** | 方向 | [TAlignMini](Enum.md#talignmini) | Right |
**Dispose** 🔴 | 是否释放 | bool | true |
**Tag** | 用户定义数据 | object`?` | `null` |
**OnLoad** 🔴 | 加载回调 | Action`?` | `null` |

View File

@@ -14,8 +14,8 @@ Dropdown 选择器 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**ListAutoWidth** | 列表自动宽度 | bool | true |
**Trigger** | 触发下拉的行为 | [Trigger](Enum#trigger) | Click |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Trigger** | 触发下拉的行为 | [Trigger](Enum.md#trigger) | Click |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**DropDownPadding** 🔴 | 下拉边距 | Size | 12, 5 |

View File

@@ -15,7 +15,7 @@ FloatButton 悬浮按钮
**Form** | 所属窗口 | Form | `必填` |
**Font** | 字体 | Font`?` ||
**Control** | 所属控件 | Control`?` ||
**Align** | 方向 | [TAlign](Enum#talign) | BR |
**Align** | 方向 | [TAlign](Enum.md#talign) | BR |
**Vertical** | 是否垂直方向 | bool | true |
**TopMost** | 是否置顶 | bool | false |
**Size** | 大小 | int | 40 |
@@ -36,7 +36,7 @@ FloatButton 悬浮按钮
**Fore** 🔴 | 文字颜色 | Color`?` | `null` |
**Tooltip** | 气泡的内容 | string`?` | `null` |
**Round** 🔴 | 圆角样式 | bool | true |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Radius** | 圆角 | int | 6 |
||||
**Icon** | 自定义图标 | Image`?` | `null` |

View File

@@ -11,6 +11,6 @@ FlowPanel 流动布局 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoScroll** | 是否显示滚动条 | bool | false |
**Align** | 布局方向 | [TAlignFlow](Enum#talignflow) | LeftCenter |
**Align** | 布局方向 | [TAlignFlow](Enum.md#talignflow) | LeftCenter |
**Gap** | 间距 | int | 0 |
**PauseLayout** | 暂停布局 | bool | false ||

View File

@@ -22,7 +22,7 @@ Input 输入框 👚
**BackActive** | 激活背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
**BorderColor** | 边框颜色 | Color`?` | `null` |
@@ -37,7 +37,7 @@ Input 输入框 👚
**WaveSize** | 波浪大小 `点击动画` | int | 4 |
**Radius** | 圆角 | int | 6 |
**Round** | 圆角样式 | bool | false |
**Status** | 设置校验状态 | [TType](Enum#ttype) | None |
**Status** | 设置校验状态 | [TType](Enum.md#ttype) | None |
||||
**AllowClear** | 支持清除 | bool | false |
**AutoScroll** | 显示滚动条 | bool | false |

View File

@@ -23,10 +23,10 @@ Menu 导航菜单 👚
**Indent** | 常规缩进 `和Tree那样缩进` | bool | false |
**ShowSubBack** | 显示子菜单背景 | bool | false |
**Unique** 🔴 | 只保持一个子菜单的展开 | bool | false |
**Trigger** 🔴 | 触发下拉的行为 | [Trigger](Enum#trigger) | Click |
**Trigger** 🔴 | 触发下拉的行为 | [Trigger](Enum.md#trigger) | Click |
||||
**Theme** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** 🔴 | 菜单类型 | [TMenuMode](Enum#tmenumode) | Inline |
**Theme** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Mode** 🔴 | 菜单类型 | [TMenuMode](Enum.md#tmenumode) | Inline |
**AutoCollapse** | 自动折叠 | bool | false |
**Collapsed** | 是否折叠 | bool | false |
||||

View File

@@ -15,12 +15,12 @@ Message 全局提示
**ID** 🔴 | ID | string`?` | `null` |
**Form** | 所属窗口 | Form | `必填` |
**Text** | 文本 | string | `必填` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Font** | 字体 | Font | `null` |
**Radius** | 圆角 | int | 6 |
**AutoClose** | 自动关闭时间(秒)`0等于不关闭` | int | 6 |
**ClickClose** 🔴 | 是否可以点击关闭 | bool | true |
**Align** 🔴 | 方向 | [TAlignFrom](Enum#talignfrom) | Top |
**Align** 🔴 | 方向 | [TAlignFrom](Enum.md#talignfrom) | Top |
**Padding** 🔴 | 边距 | Size | 12, 9 |
**ShowInWindow** 🔴 | 弹出在窗口 | bool | false |
**Call** | 加载回调 | Action<Config>`?` | `null` |

View File

@@ -17,7 +17,7 @@ Modal 对话框
**Content** | 控件/内容 | object | `必填` |
**Width** | 消息框宽度 | int | 416 |
**Font** | 字体 | Font`?` | `null` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Keyboard** | 是否支持键盘 esc 关闭 | bool | true |
**Mask** | 是否展示遮罩 | bool | true |
**MaskClosable** | 点击蒙层是否允许关闭 | bool | true |
@@ -29,7 +29,7 @@ Modal 对话框
**CancelText** | 取消按钮文字 | string | "取消" |
**CancelFont** 🔴 | 取消按钮字体 | Font`?` | `null` |
**OkText** | 确认按钮文字 | string | "确定" |
**OkType** | 确认按钮类型 | [TTypeMini](Enum#ttypemini) | Primary |
**OkType** | 确认按钮类型 | [TTypeMini](Enum.md#ttypemini) | Primary |
**OkFont** 🔴 | 确认按钮字体 | Font`?` | `null` |
**OnOk** | 确定回调 | `Func<Config, bool>?` | `null` |
||||
@@ -48,7 +48,7 @@ Modal 对话框
:--|:--|:--|:--|
**Name** | 按钮名称 | string | `必填` |
**Text** | 按钮文字 | string | `必填` |
**Type** | 按钮类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 按钮类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Fore** | 文字颜色 | Color`?` | `null` |
**Back** | 背景颜色 | Color`?` | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -14,7 +14,7 @@ Notification 通知提醒框
:--|:--|:--|:--|
**ID** 🔴 | ID | string`?` | `null` |
**Form** | 所属窗口 | Form | `必填` |
**Icon** | 图标 | [TType](Enum#ttype) | None |
**Icon** | 图标 | [TType](Enum.md#ttype) | None |
**Font** | 字体 | Font`?` | `null` |
**Text** | 文本 | string | `必填` |
|||||
@@ -23,7 +23,7 @@ Notification 通知提醒框
**FontStyleTitle** 🔴 | 标题字体样式 | FontStyle`?` | `null` |
|||||
**Radius** | 圆角 | int | 10 |
**Align** | 方向 | [TAlignFrom](Enum#talignfrom) | Right |
**Align** | 方向 | [TAlignFrom](Enum.md#talignfrom) | Right |
**Padding** 🔴 | 边距 | Size | 24, 20 |
**AutoClose** | 自动关闭时间(秒)`0等于不关闭` | int | 6 |
**ClickClose** 🔴 | 是否可以点击关闭 | bool | true |

View File

@@ -13,7 +13,7 @@ PageHeader 页头 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Mode** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Loading** | 加载状态 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -15,7 +15,7 @@ Panel 面板 👚
:--|:--|:--|:--|
**Back** | 背景颜色 | Color`?` | `null` |
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
||||
**BorderWidth** | 边框宽度 | float | 0F |
@@ -23,7 +23,7 @@ Panel 面板 👚
**BorderStyle** 🔴 | 边框样式 | DashStyle | Solid |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**Shadow** | 阴影大小 | int | 0 |
**ShadowColor** | 阴影颜色 | Color`?` | `null` |
@@ -32,5 +32,5 @@ Panel 面板 👚
**ShadowOpacityAnimation** 🔴 | 阴影透明度动画使能 | bool | false |
**ShadowOffsetX** | 阴影偏移X | int | 0 |
**ShadowOffsetY** | 阴影偏移Y | int | 0 |
**ShadowAlign** 🔴 | 阴影方向 | [TAlignMini](Enum#talignmini) | None |
**ShadowAlign** 🔴 | 阴影方向 | [TAlignMini](Enum.md#talignmini) | None |
**padding** 🔴 | 内边距 | Padding | 0, 0, 0, 0 |

View File

@@ -18,7 +18,7 @@ Popover 气泡卡片
**Font** | 字体 | Font |`null`|
**AutoClose** |自动关闭时间(秒)`0等于不关闭` | int |0|
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | Bottom |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | Bottom |
**ArrowSize** | 箭头大小 | int | 8 |
**Offset** | 偏移量 | Rectangle / RectangleF | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -18,13 +18,13 @@ Progress 进度条 👚
**Fill** | 进度条颜色 | Color`?` | `null` |
||||
**Radius** | 圆角 | int | 0 |
**Shape** 🔴 | 形状 | [TShapeProgress](Enum#tshapeprogress) | Round |
**Shape** 🔴 | 形状 | [TShapeProgress](Enum.md#tshapeprogress) | Round |
**IconRatio** | 图标比例 | float | 0.7F |
**ValueRatio** 🔴 | 进度条比例 | float | 0.4F |
||||
**UseSystemText** 🔴 | 使用系统文本 | bool | false |
**ShowTextDot** 🔴 | 显示进度文本小数点位数 | int | 0 |
**State** | 样式 | [TType](Enum#ttype) | None |
**State** | 样式 | [TType](Enum.md#ttype) | None |
**ShowInTaskbar** | 任务栏中显示进度 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -14,7 +14,7 @@ Radio 单选框 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**Fill** | 填充颜色 | Color`?` | `null` |

View File

@@ -30,11 +30,11 @@ Segmented 分段控制器 👚
||||
**Gap** | 间距 | int | 0 |
**Vertical** | 是否竖向 | bool | false |
**IconAlign** 🔴 | 图标对齐方向 | [TAlignMini](Enum#talignmini) | Top |
**IconAlign** 🔴 | 图标对齐方向 | [TAlignMini](Enum.md#talignmini) | Top |
**IconRatio** 🔴 | 图标比例 | float`?` | `null` |
**IconGap** 🔴 | 图标与文字间距比例 | float | 0.2F |
||||
**BarPosition** 🔴 | 线条位置 | [TAlignMini](Enum#talignmini) | None |
**BarPosition** 🔴 | 线条位置 | [TAlignMini](Enum.md#talignmini) | None |
**BarSize** 🔴 | 条大小 | float | 3F |
**BarPadding** 🔴 | 条边距 | int | 0 |
**BarRadius** 🔴 | 条圆角 | int | 0 |

View File

@@ -15,7 +15,7 @@ Select 选择器 👚
:--|:--|:--|:--|
**List** | 是否列表样式 `与Dropdown一样` | bool | false |
**ListAutoWidth** | 是否列表自动宽度 | bool | true |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**DropDownPadding** 🔴 | 下拉边距 | Size | 12, 5 |
@@ -53,7 +53,7 @@ Select 多选器 👚
:--|:--|:--|:--|
**List** | 是否列表样式 `与Dropdown一样` | bool | false |
**ListAutoWidth** | 是否列表自动宽度 | bool | true |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | 列表最多显示条数 | int | 4 |
**MaxChoiceCount** | 最大选中数量 | int | 0 |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |

View File

@@ -21,7 +21,7 @@ Slider 滑动输入条 👚
**MaxValue** | 最大值 | int | 100 |
**Value** | 当前值 | int | 0 |
||||
**Align** | 方向 | [TAlignMini](Enum#talignmini) | Left |
**Align** | 方向 | [TAlignMini](Enum.md#talignmini) | Left |
**ShowValue** | 是否显示数值 | bool | false |
**LineSize** | 线条粗细 | int | 4 |
**DotSize** | 点大小 | int | 10 |

View File

@@ -16,7 +16,7 @@ Steps 步骤条 👚
**ForeColor** | 文字颜色 | Color`?` | `null` |
||||
**Current** | 指定当前步骤 `从 0 开始记数。在子 Step 元素中,可以通过 status 属性覆盖状态` | int | 0 |
**Status** | 指定当前步骤的状态 | [TStepState](Enum#tstepstate) | Process |
**Status** | 指定当前步骤的状态 | [TStepState](Enum.md#tstepstate) | Process |
**Vertical** | 垂直方向 | bool | false |
**Items** | 数据 `StepsItem[]` | [StepsItem[]](#stepsitem) | [] |
||||

View File

@@ -27,10 +27,10 @@ Table 表格 👚
**EnableHeaderResizing** | 手动调整列头宽度 | bool | false |
**ColumnDragSort** | 列拖拽排序 | bool | false |
**LostFocusClearSelection** | 焦点离开清空选中 | bool | false |
**AutoSizeColumnsMode** 🔴 | 列宽自动调整模式 | [ColumnsMode](Enum#columnsmode) | Auto |
**AutoSizeColumnsMode** 🔴 | 列宽自动调整模式 | [ColumnsMode](Enum.md#columnsmode) | Auto |
||||
**ClipboardCopy** | 行复制 | bool | true |
**EditMode** | 编辑模式 | [TEditMode](Enum#teditmode) | None |
**EditMode** | 编辑模式 | [TEditMode](Enum.md#teditmode) | None |
**ShowTip** | 省略文字提示 | bool | true |
**DefaultExpand** 🔴 | 默认是否展开 `树` | bool | false |
||||
@@ -180,7 +180,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Fore** | 字体颜色 | Color`?` ||
**Fill** | 颜色 | Color`?` ||
||||
**State** | 状态 | [TState](Enum#tstate) | Default |
**State** | 状态 | [TState](Enum.md#tstate) | Default |
**Text** | 文本 | string`?` |
#### CellTag
@@ -193,7 +193,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Back** | 背景颜色 | Color`?` ||
**BorderWidth** | 边框宽度 | float |1F|
||||
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Text** | 文本 | string`?` ||
#### CellImage
@@ -212,7 +212,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Image** | 图片 | Image`?` | `null` |
**ImageSvg** | 图片SVG | string`?` | `null` |
**FillSvg** | SVG填充颜色 | Color`?` ||
**ImageFit** | 图片布局 | [TFit](Enum#tfit) | Fill |
**ImageFit** | 图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**Tooltip** 🔴 | 文本提示 | string`?` ||
@@ -240,12 +240,12 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**ImageHoverSvg** 🔴 | 悬停图像SVG | string`?` | `null` |
**ImageHoverAnimation** 🔴 | 悬停图像动画时长 | int | 200 |
||||
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
**Ghost** | 幽灵属性 `使按钮背景透明` | bool |false |
**ShowArrow** | 显示箭头 | bool |false |
**IsLink** | 箭头链接样式 | bool |false |
||||
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**Text** | 文本 | string`?` ||
#### CellLink
@@ -272,7 +272,7 @@ private AntdUI.Table.CellStyleInfo? Table1_SetRowStyle(object sender, object? re
**Fill** | 进度条颜色 | Color`?` ||
||||
**Radius** | 圆角 | int |6|
**Shape** | 形状 | [TShape](Enum#tshape) | Default |
**Shape** | 形状 | [TShape](Enum.md#tshape) | Default |
||||
**Value** | 进度条 `0.0-1.0` | float |0F|

View File

@@ -22,7 +22,7 @@ Tabs 标签页 👚 [beta]
**Alignment** | 位置 | TabAlignment |Top|
**Centered** 🔴 | 标签居中展示 | bool | false |
||||
**TypExceed** 🔴 | 超出UI类型 | [TabTypExceed](Enum#tabtypexceed) | Button |
**TypExceed** 🔴 | 超出UI类型 | [TabTypExceed](Enum.md#tabtypexceed) | Button |
**ScrollBack** 🔴 | 滚动条颜色 | Color`?` | `null` |
**ScrollBackHover** 🔴 | 滚动条悬停颜色 | Color`?` | `null` |
**ScrollFore** 🔴 | 滚动条文本颜色 | Color`?` | `null` |
@@ -32,7 +32,7 @@ Tabs 标签页 👚 [beta]
**IconRatio** | 图标比例 | float | 0.7F |
**ItemSize** 🔴 | 自定义项大小 | int? | `null` |
||||
**Type** | 类型 | [TabType](Enum#tabtype) | Line |
**Type** | 类型 | [TabType](Enum.md#tabtype) | Line |
**Style** | 样式类型 | [IStyle](#istyle) | `非空` |
||||
**TabMenuVisible** | 是否显示头 | bool | true |

View File

@@ -16,18 +16,18 @@ Tag 标签页 👚
**OriginalBackColor** 🔴 | 原装背景颜色 | Color | Transparent |
||||
**AutoSize** | 自动大小 | bool | false |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum#tautosize) | None |
**AutoSizeMode** | 自动大小模式 | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | 文字颜色 | Color`?` | `null` |
**BackColor** | 背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**BorderWidth** | 边框宽度 | float | 0F |
||||
**Radius** | 圆角 | int | 6 |
**Type** | 类型 | [TTypeMini](Enum#ttypemini) | Default |
**Type** | 类型 | [TTypeMini](Enum.md#ttypemini) | Default |
**CloseIcon** | 是否显示关闭图标 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -17,7 +17,7 @@ TimePicker 时间选择框 👚
||||
**Value** | 控件当前日期 | TimeSpan | `00:00:00` |
||||
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum#talignfrom) | BL |
**Placement** | 菜单弹出位置 | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | 下拉箭头是否显示 | bool | false |
**ShowIcon** | 是否显示图标 | bool | true |

View File

@@ -39,6 +39,6 @@ Timeline 时间轴 👚
**IconSvg** 🔴 | 图标SVG | string`?` | `null` |
**Visible** | 是否显示 | bool | true |
**Description** | 详情描述 | string`?` | `null` |
**Type** | 颜色类型 | [TTypeMini](Enum#ttypemini) | Primary |
**Type** | 颜色类型 | [TTypeMini](Enum.md#ttypemini) | Primary |
**Fill** | 填充颜色 | Color`?` | `null` |
**Tag** | 用户定义数据 | object`?` | `null` |

View File

@@ -17,7 +17,7 @@ Tooltip 文字提示 👚
**Text** | 文本 | string | `必填` |
||||
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
**CustomWidth** 🔴 | 设定宽度 | int`?` | `null` |
@@ -25,8 +25,8 @@ Tooltip 文字提示 👚
名称 | 描述 | 返回值 | 参数 |
:--|:--|:--|:--|
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, [TAlign](Enum#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, Rectangle rect `偏移量,用于容器内项`, [TAlign](Enum#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, [TAlign](Enum.md#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | Control control `所属控件`, string text `文本`, Rectangle rect `偏移量,用于容器内项`, [TAlign](Enum.md#talign) ArrowAlign = TAlign.Top `箭头方向` |
**open** | 文字提示 | void | [TooltipConfig](#tooltipconfig) `配置` |
@@ -47,6 +47,6 @@ Tooltip 文字提示 👚
:--|:--|:--|:--|
**Font** | 字体 | Color`?` | `null` |
**Radius** | 圆角 | int | 6 |
**ArrowAlign** | 箭头方向 | [TAlign](Enum#talign) | None |
**ArrowAlign** | 箭头方向 | [TAlign](Enum.md#talign) | None |
**ArrowSize** | 箭头大小 | int | 8 |
**CustomWidth** 🔴 | 设定宽度 | int`?` | `null` |

View File

@@ -21,7 +21,7 @@ UploadDragger 拖拽上传 👚
**Back** | 背景颜色 | Color`?` | `null` |
||||
**BackgroundImage** | 背景图片 | Image`?` | `null` |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum#tfit) | Fill |
**BackgroundImageLayout** | 背景图片布局 | [TFit](Enum.md#tfit) | Fill |
||||
**IconRatio** | 图标比例 | float | 1.92F |
**Icon** | 图标 | Image`?` | `null` |

View File

@@ -13,7 +13,7 @@ WindowBar 窗口栏 👚
名称 | 描述 | 类型 | 默认值 |
:--|:--|:--|:--|
**Mode** | 色彩模式 | [TAMode](Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](Enum.md#tamode) | Auto |
**Loading** | 加载状态 | bool | false |
||||
**Text** | 文本 | string`?` | `null` |

View File

@@ -10,7 +10,7 @@
:--|:--|:--|:--|
**AutoHandDpi** | 自动处理DPI | bool | true |
**Dark** | 深色模式 | bool | false |
**Mode** | 色彩模式 | [TAMode](../Control/Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](../Control/Enum.md#tamode) | Auto |
**IsMax** 🔴 | 是否最大化 | bool | false |
### 方法

View File

@@ -12,7 +12,7 @@
:--|:--|:--|:--|
**Resizable** | 调整窗口大小 | bool | true |
**Dark** | 深色模式 | bool | false |
**Mode** | 色彩模式 | [TAMode](../Control/Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](../Control/Enum.md#tamode) | Auto |
**Radius** | 圆角 | int | 0 |
||||
**UseDwm** 🔴 | 使用DWM阴影 `使用系统阴影后颜色、边框、圆角等不生效` | bool | true |

View File

@@ -12,7 +12,7 @@
:--|:--|:--|:--|
**Resizable** | 调整窗口大小 | bool | true |
**Dark** | 深色模式 | bool | false |
**Mode** | 色彩模式 | [TAMode](../Control/Enum#tamode) | Auto |
**Mode** | 色彩模式 | [TAMode](../Control/Enum.md#tamode) | Auto |
**ScreenRectangle** | 获取或设置窗体屏幕区域 | Rectangle |
### 方法

View File

@@ -1,5 +1,120 @@
[首页](Home.md)・[更新日志](UpdateLog.md)・[配置](Config.md)・[主题](Theme.md)・[SVG](SVG.md)
### `1.8.2` 2025-01-09
- SelectMultiple 多行样式AutoHeight
- Button/Switch/ColorPicker 焦点样式
- Button LoadingRespondClick
- Button Loading -1 支持
- Style Clear 清空样式
- ✍️ ShowInTaskbar 大小变更
- ✍️ Input 键盘消息
- ✍️ Alert 文本靠边
- ✍️ ShowInTaskbar 窗口缩小
- ✍️ 丰富 Preview OnBtns 返回内容,优化体验
- ✍️ LabelTime 国际化
- ✍️ 统一圆角计算
### `1.8.1` 2025-01-07
[移除 WindowBar 请使用 PageHeader+ShowButton]
- Menu Gap
- Select 筛选权重
- PageHeader UseSubCenter
- ✍️ Message 等高频 渲染错位
- ✍️ Input 无法 Tab 到下一个
- ✍️ 规范 Table Cell 间距
- ✍️ Drawer 抑制闪烁
- ✍️ Window ShowInTaskbar 无边框异常
- ✍️ Input 滚动条隐藏样式无效
- ✍️ 控件 Tab 焦点问题
### `1.8.0` 2024-12-31 🐍
- 日期徽标功能对齐
- 横向滚动快捷键
- PageHeader SubFontBackExtend
- PageHeader 全屏
- Switch Loading
- ✍️ Drawer 渲染问题
- ✍️ 部分组件掉帧
- ✍️ OS 在 framework 旧问题
- ✍️ Tree 拖拽
### `1.7.14` 2024-12-26
- UploadDragger 点击选择文件 ClickHand 点击上传等属性
- UploadDragger 拖拽文件夹
- ✍️ Button 鼠标离开后依然响应点击
- ✍️ 优化 PageHeader CancelButton 交互
- ✍️ Tabs Clear 后异常
- ✍️ Spin 在 Drawer 中不生效
- ✍️ Modal BtnHeight=0 Keyboard 无效
- ✍️ Tabs Card2
### `1.7.13` 2024-12-20
- Table 排序模式、SortModeChanged
- 触屏点击 Config.TouchClickEnabled
- Table SelectIndexChanged
- 日期徽标新增字符串和圆角支持
- Modal 拖拽窗口
- ✍️ Table PARENT 异常
- ✍️ 布局 控件初始化问题
### `1.7.12` 2024-12-16
- ✍️ Alert Loop 空文本卡死
- ✍️ Tree 交互新增点击图标
- ✍️ 按钮回车多重触发
- ✍️ Popover 自定义控件内部 TopMost
- ✍️ Tree 隐藏后依然响应事件
- ✍️ Label 自动宽度 空值
- ✍️ Timeline Gap
### `1.7.11` 2024-12-11
- ✍️ DPI 处理 隐藏后异常
### `1.7.10` 2024-12-09
- Timeline / Steps 开放 Gap
- Table 新增 DropDown 下拉
- ✍️ Button 回车 触发两次 Click
- ✍️ Table 编辑多行、编辑模式不同类型恢复旧值、RowHoverBg 透明闪烁
- ✍️ Pagination 圆角
- ✍️ Progress 大小0异常
### `1.7.9` 2024-12-03
- VirtualPanel 单个刷新
- ✍️ Table 多个 CellText 错位
- ✍️ DatePicker Format 解析异常
- ✍️ Table 单元格修改绑定数据类型为uint16时报错
- ✍️ ProcessCmdKey
- ✍️ Tree 无数据不触发 Paint
- ✍️ Button 下拉箭头居中
- ✍️ Input 上下 异常
- ✍️ DateChanged 多次触发
### `1.7.8` 2024-11-28
- Table 新增禁用行
- Badge DotRatio/Gap
- Menu IconActive
- IconState
- ✍️ Table 编辑模式复制异常
- ✍️ 日期选择最大值
- ✍️ ColorPicker AllowClear
- ✍️ Table ToDataTable 插槽
- ✍️ DataBindings 不支持AOT
- ✍️ Window 大小变化
- ✍️ Splitter DPI 异常
- ✍️ Loading 加入背景
- ✍️ 图片 渲染并发
- ✍️ 公开 Table.ICell 容器
- ✍️ 色卡集中
### `1.7.7` 2024-11-25
- Table 多行选中
- Table 处理快捷键
- Table ToDataTable 插槽
- Menu 滚动条和屏幕边缘碰撞
- ✍️ Table DataTable 无法应用编辑
- ✍️ Button 背景重叠
- ✍️ 适配 DataBindings
- ✍️ TreeCheckedEventArgs 值
### `1.7.6` 2024-11-21
- ✍️ Table 复选框不显示
- ✍️ Tree 父级多选状态异常

View File

@@ -50,11 +50,12 @@ namespace Demo.Controls
private void InitializeComponent()
{
header1 = new AntdUI.PageHeader();
panel2 = new System.Windows.Forms.Panel();
panel1 = new FlowLayoutPanel();
button3 = new AntdUI.Button();
button2 = new AntdUI.Button();
button1 = new AntdUI.Button();
divider1 = new AntdUI.Divider();
panel2.SuspendLayout();
panel1.SuspendLayout();
SuspendLayout();
//
// header1
@@ -72,34 +73,49 @@ namespace Demo.Controls
header1.Text = "Preview 图片预览";
header1.UseTitleFont = true;
//
// panel2
// panel1
//
panel2.Controls.Add(button2);
panel2.Controls.Add(button1);
panel2.Dock = DockStyle.Top;
panel2.Location = new Point(0, 102);
panel2.Name = "panel2";
panel2.Size = new Size(614, 62);
panel2.TabIndex = 6;
panel1.Controls.Add(button1);
panel1.Controls.Add(button2);
panel1.Controls.Add(button3);
panel1.Dock = DockStyle.Top;
panel1.Location = new Point(0, 102);
panel1.Name = "panel1";
panel1.Size = new Size(614, 62);
panel1.TabIndex = 2;
//
// button3
//
button3.AutoSizeMode = AntdUI.TAutoSize.Auto;
button3.BorderWidth = 1F;
button3.LocalizationText = "Preview.{id}";
button3.Location = new Point(347, 3);
button3.Name = "button3";
button3.Size = new Size(133, 47);
button3.TabIndex = 1;
button3.Text = "动态加载图片";
button3.Click += button3_Click;
//
// button2
//
button2.AutoSizeMode = AntdUI.TAutoSize.Auto;
button2.BorderWidth = 1F;
button2.LocalizationText = "Preview.{id}";
button2.Location = new Point(169, 3);
button2.Location = new Point(175, 3);
button2.Name = "button2";
button2.Size = new Size(160, 41);
button2.Size = new Size(166, 47);
button2.TabIndex = 0;
button2.Text = "弹出多张图片预览";
button2.Click += button2_Click;
//
// button1
//
button1.AutoSizeMode = AntdUI.TAutoSize.Auto;
button1.BorderWidth = 1F;
button1.LocalizationText = "Preview.{id}";
button1.Location = new Point(3, 3);
button1.Name = "button1";
button1.Size = new Size(160, 41);
button1.Size = new Size(166, 47);
button1.TabIndex = 0;
button1.Text = "弹出一张图片预览";
button1.Click += button1_Click;
@@ -118,21 +134,23 @@ namespace Demo.Controls
//
// Preview
//
Controls.Add(panel2);
Controls.Add(panel1);
Controls.Add(divider1);
Controls.Add(header1);
Font = new Font("Microsoft YaHei UI", 12F);
Name = "Preview";
Size = new Size(614, 446);
panel2.ResumeLayout(false);
panel1.ResumeLayout(false);
panel1.PerformLayout();
ResumeLayout(false);
}
#endregion
private AntdUI.PageHeader header1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.FlowLayoutPanel panel1;
private AntdUI.Divider divider1;
private AntdUI.Button button1;
private AntdUI.Button button2;
private AntdUI.Button button3;
}
}

View File

@@ -43,7 +43,48 @@ namespace Demo.Controls
Btns = new AntdUI.Preview.Btn[] {
new AntdUI.Preview.Btn("download","<svg viewBox=\"64 64 896 896\"><path d=\"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z\"></path></svg>")
},
OnBtns = (id, config) =>
OnBtns = (id, data) =>
{
switch (id)
{
case "download":
//<2F>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>ť
break;
}
}
});
}
private void button3_Click(object sender, EventArgs e)
{
AntdUI.Preview.open(new AntdUI.Preview.Config(form, new object[] { 1, 2, 3, 7 }, (i, tag, call) =>
{
if (i == 0) return Properties.Resources.bg1;
else if (i == 2) return Properties.Resources.bg3;
else if (i == 3)
{
for (int prog = 0; prog <= 100; prog++)
{
System.Threading.Thread.Sleep(10);
call(prog / 100F, prog + "%");
}
System.Threading.Thread.Sleep(500);
return Properties.Resources.bg7;
}
for (int prog = 0; prog <= 20; prog++)
{
System.Threading.Thread.Sleep(50);
call(prog / 100F, prog + "%");
}
System.Threading.Thread.Sleep(500);
call(0.2F, "<22><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>");
return null;
})
{
Btns = new AntdUI.Preview.Btn[] {
new AntdUI.Preview.Btn("download","<svg viewBox=\"64 64 896 896\"><path d=\"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z\"></path></svg>")
},
OnBtns = (id, data) =>
{
switch (id)
{

View File

@@ -343,6 +343,8 @@ namespace Demo
return "Single Image";
case "Preview.button2":
return "Multiple Images";
case "Preview.button3":
return "Dynamic Load Images";
//Progress ----------------------------
case "Progress.Text":