From b66040619b9c0ed4221972d90b8ce9db8bedbf84 Mon Sep 17 00:00:00 2001
From: Tom <17379620@qq.com>
Date: Fri, 27 Feb 2026 21:02:32 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20Beautiful=20AntdUI?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 9 +-
README.zh.md | 9 +-
doc/wiki/README.md | 1 +
doc/wiki/en/AOT.md | 14 +-
doc/wiki/en/Config.md | 6 +-
doc/wiki/en/Control/Alert.md | 13 +-
doc/wiki/en/Control/Avatar.md | 20 ++-
doc/wiki/en/Control/Badge.md | 10 +-
doc/wiki/en/Control/Battery.md | 6 +-
doc/wiki/en/Control/Breadcrumb.md | 12 +-
doc/wiki/en/Control/Button.md | 4 +-
doc/wiki/en/Control/Calendar.md | 41 +++--
doc/wiki/en/Control/Carousel.md | 7 +-
doc/wiki/en/Control/Checkbox.md | 7 +-
doc/wiki/en/Control/Collapse.md | 32 ++--
doc/wiki/en/Control/ColorPicker.md | 12 +-
doc/wiki/en/Control/ContextMenuStrip.md | 202 ++++++++++++------------
doc/wiki/en/Control/DatePicker.md | 65 ++------
doc/wiki/en/Control/DatePickerRange.md | 42 +++++
doc/wiki/en/Control/Divider.md | 5 +-
doc/wiki/en/Control/Drawer.md | 28 ++--
doc/wiki/en/Control/Dropdown.md | 14 +-
doc/wiki/en/Control/FloatButton.md | 29 ++--
doc/wiki/en/Control/FlowPanel.md | 6 +-
doc/wiki/en/Control/GridPanel.md | 4 +-
doc/wiki/en/Control/HyperlinkLabel.md | 40 ++---
doc/wiki/en/Control/Image3D.md | 80 ++++++++++
doc/wiki/en/Control/ImagePreview.md | 30 ++--
doc/wiki/en/Control/Input.md | 91 ++++-------
doc/wiki/en/Control/InputNumber.md | 33 ++++
doc/wiki/en/Control/Label.md | 6 +-
doc/wiki/en/Control/LabelLed.md | 7 +-
doc/wiki/en/Control/LabelTime.md | 9 +-
doc/wiki/en/Control/Menu.md | 9 +-
doc/wiki/en/Control/Message.md | 20 ++-
doc/wiki/en/Control/Modal.md | 85 +++++-----
doc/wiki/en/Control/Notification.md | 37 +++--
doc/wiki/en/Control/PageHeader.md | 19 +--
doc/wiki/en/Control/Pagination.md | 5 +-
doc/wiki/en/Control/Panel.md | 7 +-
doc/wiki/en/Control/Popover.md | 48 +++---
doc/wiki/en/Control/Progress.md | 13 +-
doc/wiki/en/Control/Radio.md | 10 +-
doc/wiki/en/Control/Rate.md | 10 +-
doc/wiki/en/Control/Segmented.md | 30 ++--
doc/wiki/en/Control/Select.md | 17 +-
doc/wiki/en/Control/Shield.md | 12 +-
doc/wiki/en/Control/Signal.md | 8 +-
doc/wiki/en/Control/Slider.md | 34 +---
doc/wiki/en/Control/SliderRange.md | 21 +++
doc/wiki/en/Control/Spin.md | 21 ++-
doc/wiki/en/Control/Splitter.md | 7 +-
doc/wiki/en/Control/StackPanel.md | 5 +-
doc/wiki/en/Control/Steps.md | 18 ++-
doc/wiki/en/Control/Switch.md | 2 +-
doc/wiki/en/Control/TabHeader.md | 51 ++++--
doc/wiki/en/Control/Table.md | 72 ++++++---
doc/wiki/en/Control/Tabs.md | 35 ++--
doc/wiki/en/Control/Tag.md | 6 +-
doc/wiki/en/Control/TimePicker.md | 9 +-
doc/wiki/en/Control/Timeline.md | 9 +-
doc/wiki/en/Control/Tooltip.md | 16 +-
doc/wiki/en/Control/Tour.md | 118 ++++++++++++++
doc/wiki/en/Control/Transfer.md | 27 ++--
doc/wiki/en/Control/Tree.md | 18 +--
doc/wiki/en/Control/UploadDragger.md | 18 +--
doc/wiki/en/Control/Watermark.md | 35 ++--
doc/wiki/en/Control/WindowBar.md | 2 +-
doc/wiki/en/DPI.md | 16 +-
doc/wiki/en/Home.md | 12 +-
doc/wiki/en/Theme.md | 64 ++++----
doc/wiki/en/UpdateLog.md | 14 ++
doc/wiki/zh/AOT.md | 14 +-
doc/wiki/zh/Config.md | 4 +-
doc/wiki/zh/Control/Alert.md | 11 +-
doc/wiki/zh/Control/Avatar.md | 15 +-
doc/wiki/zh/Control/Badge.md | 8 +-
doc/wiki/zh/Control/Battery.md | 4 +-
doc/wiki/zh/Control/Breadcrumb.md | 10 +-
doc/wiki/zh/Control/Calendar.md | 25 +--
doc/wiki/zh/Control/Carousel.md | 3 +-
doc/wiki/zh/Control/Checkbox.md | 2 +-
doc/wiki/zh/Control/Collapse.md | 22 ++-
doc/wiki/zh/Control/ColorPicker.md | 6 +-
doc/wiki/zh/Control/ContextMenuStrip.md | 202 ++++++++++++------------
doc/wiki/zh/Control/DatePicker.md | 63 ++------
doc/wiki/zh/Control/DatePickerRange.md | 43 +++++
doc/wiki/zh/Control/Divider.md | 3 +-
doc/wiki/zh/Control/Drawer.md | 28 ++--
doc/wiki/zh/Control/Dropdown.md | 10 +-
doc/wiki/zh/Control/FloatButton.md | 29 ++--
doc/wiki/zh/Control/FlowPanel.md | 2 +-
doc/wiki/zh/Control/GridPanel.md | 2 +-
doc/wiki/zh/Control/HyperlinkLabel.md | 34 ++--
doc/wiki/zh/Control/Image3D.md | 81 ++++++++++
doc/wiki/zh/Control/ImagePreview.md | 24 +--
doc/wiki/zh/Control/Input.md | 94 ++++-------
doc/wiki/zh/Control/InputNumber.md | 34 ++++
doc/wiki/zh/Control/Label.md | 4 +-
doc/wiki/zh/Control/LabelLed.md | 2 +-
doc/wiki/zh/Control/LabelTime.md | 7 +-
doc/wiki/zh/Control/Menu.md | 3 +-
doc/wiki/zh/Control/Message.md | 16 +-
doc/wiki/zh/Control/Modal.md | 68 ++++----
doc/wiki/zh/Control/PageHeader.md | 6 +-
doc/wiki/zh/Control/Popover.md | 22 +--
doc/wiki/zh/Control/Progress.md | 9 +-
doc/wiki/zh/Control/Signal.md | 2 +-
doc/wiki/zh/Control/Slider.md | 29 +---
doc/wiki/zh/Control/SliderRange.md | 22 +++
doc/wiki/zh/Control/Spin.md | 12 +-
doc/wiki/zh/Control/TabHeader.md | 34 +++-
doc/wiki/zh/Control/Table.md | 75 ++++++---
doc/wiki/zh/Control/Tabs.md | 3 +-
doc/wiki/zh/Control/Tag.md | 2 +-
doc/wiki/zh/Control/TimePicker.md | 5 +-
doc/wiki/zh/Control/Timeline.md | 5 +-
doc/wiki/zh/Control/Tooltip.md | 14 +-
doc/wiki/zh/Control/Tour.md | 119 ++++++++++++++
doc/wiki/zh/Control/Transfer.md | 17 +-
doc/wiki/zh/Control/Tree.md | 18 +--
doc/wiki/zh/Control/UploadDragger.md | 10 +-
doc/wiki/zh/Control/Watermark.md | 31 ++--
doc/wiki/zh/DPI.md | 16 +-
doc/wiki/zh/Home.md | 12 +-
doc/wiki/zh/Theme.md | 64 ++++----
doc/wiki/zh/UpdateLog.md | 14 ++
example/Demo/Demo.csproj | 4 +-
example/Demo/Overview.cs | 2 +-
example/Demo/UI/TItem.cs | 2 +-
example/Demo/UI/VIItem.cs | 4 +-
example/FontTest/Main.cs | 2 +-
example/FontTest/UserControl1.cs | 2 +-
example/SVGView/SVGView.csproj | 4 +-
src/AntdUI/AntdUI.csproj | 2 +-
135 files changed, 2020 insertions(+), 1270 deletions(-)
create mode 100644 doc/wiki/en/Control/DatePickerRange.md
create mode 100644 doc/wiki/en/Control/Image3D.md
create mode 100644 doc/wiki/en/Control/InputNumber.md
create mode 100644 doc/wiki/en/Control/SliderRange.md
create mode 100644 doc/wiki/en/Control/Tour.md
create mode 100644 doc/wiki/zh/Control/DatePickerRange.md
create mode 100644 doc/wiki/zh/Control/Image3D.md
create mode 100644 doc/wiki/zh/Control/InputNumber.md
create mode 100644 doc/wiki/zh/Control/SliderRange.md
create mode 100644 doc/wiki/zh/Control/Tour.md
diff --git a/README.md b/README.md
index 8a781de9..ba5972b0 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ Ant Design for WinForms, reimagines desktop app aesthetics with modern frontend
- 💎 Superior shadow effects on Winforms
- 📦 Borderless window with native window features
- 👚 Theme configuration, black and white mode
+- 📐 Interactive Security Zone
- 🌍 Internationale
- 🦜 SVG vector graphics
- 👓 DPI adaptation
@@ -66,14 +67,14 @@ Ant Design for WinForms, reimagines desktop app aesthetics with modern frontend
➡️| [**Checkbox**](doc/wiki/en/Control/Checkbox.md) | ✅ | ✅ |
➡️| [**ColorPicker**](doc/wiki/en/Control/ColorPicker.md) | ✅ | ✅ |
➡️| [**DatePicker**](doc/wiki/en/Control/DatePicker.md) | ✅ | ✅ |
-➡️| [**DatePickerRange**](doc/wiki/en/Control/DatePicker.md#datepickerrange) | ✅ | ✅ |
+➡️| [**DatePickerRange**](doc/wiki/en/Control/DatePickerRange.md) | ✅ | ✅ |
➡️| [**Input**](doc/wiki/en/Control/Input.md) | ✅ | ✅ |
-➡️| [**InputNumber**](doc/wiki/en/Control/Input.md#inputnumber) | ✅ | ✅ |
+➡️| [**InputNumber**](doc/wiki/en/Control/InputNumber.md) | ✅ | ✅ |
➡️| [**Radio**](doc/wiki/en/Control/Radio.md) | ✅ | ✅ |
➡️| [**Rate**](doc/wiki/en/Control/Rate.md) | ✅ | ❎ |
➡️| [**Select**](doc/wiki/en/Control/Select.md) | ✅ | ✅ |
➡️| [**Slider**](doc/wiki/en/Control/Slider.md) | ✅ | ❎ |
-➡️| [**SliderRange**](doc/wiki/en/Control/Slider.md#sliderrange) | ✅ | ❎ |
+➡️| [**SliderRange**](doc/wiki/en/Control/SliderRange.md) | ✅ | ❎ |
➡️| [**Switch**](doc/wiki/en/Control/Switch.md) | ✅ | ✅ |
➡️| [**TimePicker**](doc/wiki/en/Control/TimePicker.md) | ✅ | ✅ |
➡️| [**Transfer**](doc/wiki/en/Control/Transfer.md) | ✅ | ❎ |
@@ -121,7 +122,7 @@ Ant Design for WinForms, reimagines desktop app aesthetics with modern frontend
➡️| [**Signal**](doc/wiki/en/Control/Signal.md) | ✅ | ❎ |
➡️| [**Shield**](doc/wiki/en/Control/Shield.md) | ❎ | ❎ |
➡️| [**ContextMenuStrip**](doc/wiki/en/Control/ContextMenuStrip.md) | ✅ | ❎ |
-➡️| **Image3D** | ✅ | ❎ |
+➡️| [**Image3D**](doc/wiki/en/Control/Image3D.md) | ✅ | ❎ |
### 🐿️ Donation

diff --git a/README.zh.md b/README.zh.md
index e6453bf9..4c52bd36 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -28,6 +28,7 @@
- 💎 Winform 上最阴影的阴影效果
- 📦 无边框窗口,拥有原生窗口特性
- 👚 主题配置,黑白模式
+- 📐 交互安全区
- 🌍 全球化支持
- 🦜 SVG 矢量图
- 👓 DPI 适配
@@ -67,14 +68,14 @@
➡️| [**Checkbox** 多选框](doc/wiki/zh/Control/Checkbox.md) | ✅ | ✅ |
➡️| [**ColorPicker** 颜色选择器](doc/wiki/zh/Control/ColorPicker.md) | ✅ | ✅ |
➡️| [**DatePicker** 日期选择框](doc/wiki/zh/Control/DatePicker.md) | ✅ | ✅ |
-➡️| [**DatePickerRange** 日期范围选择框](doc/wiki/zh/Control/DatePicker.md#datepickerrange) | ✅ | ✅ |
+➡️| [**DatePickerRange** 日期范围选择框](doc/wiki/zh/Control/DatePickerRange.md) | ✅ | ✅ |
➡️| [**Input** 输入框](doc/wiki/zh/Control/Input.md) | ✅ | ✅ |
-➡️| [**InputNumber** 数字输入框](doc/wiki/zh/Control/Input.md#inputnumber) | ✅ | ✅ |
+➡️| [**InputNumber** 数字输入框](doc/wiki/zh/Control/InputNumber.md) | ✅ | ✅ |
➡️| [**Radio** 单选框](doc/wiki/zh/Control/Radio.md) | ✅ | ✅ |
➡️| [**Rate** 评分](doc/wiki/zh/Control/Rate.md) | ✅ | ❎ |
➡️| [**Select** 选择器](doc/wiki/zh/Control/Select.md) | ✅ | ✅ |
➡️| [**Slider** 滑动输入条](doc/wiki/zh/Control/Slider.md) | ✅ | ❎ |
-➡️| [**SliderRange** 滑动范围输入条](doc/wiki/zh/Control/Slider.md#sliderrange) | ✅ | ❎ |
+➡️| [**SliderRange** 滑动范围输入条](doc/wiki/zh/Control/SliderRange.md) | ✅ | ❎ |
➡️| [**Switch** 开关](doc/wiki/zh/Control/Switch.md) | ✅ | ✅ |
➡️| [**TimePicker** 时间选择框](doc/wiki/zh/Control/TimePicker.md) | ✅ | ✅ |
➡️| [**Transfer** 穿梭框](doc/wiki/zh/Control/Transfer.md) | ✅ | ❎ |
@@ -123,7 +124,7 @@
➡️| [**Signal** 信号强度](doc/wiki/zh/Control/Signal.md) | ✅ | ❎ |
➡️| [**Shield** 徽章](doc/wiki/zh/Control/Shield.md) | ❎ | ❎ |
➡️| [**ContextMenuStrip** 右键菜单](doc/wiki/zh/Control/ContextMenuStrip.md) | ✅ | ❎ |
-➡️| **Image3D** 图片3D | ✅ | ❎ |
+➡️| [**Image3D** 图片3D](doc/wiki/zh/Control/Image3D.md) | ✅ | ❎ |
### 🐿️ 捐赠

diff --git a/doc/wiki/README.md b/doc/wiki/README.md
index 2e05adb9..972e1a56 100644
--- a/doc/wiki/README.md
+++ b/doc/wiki/README.md
@@ -14,6 +14,7 @@ Ant Design for WinForms, which deeply integrates Ant Design's modern design conc
- 💎 Winform 上最阴影的阴影效果 | Superior shadow effects on Winforms
- 📦 无边框窗口,拥有原生窗口特性 | Borderless window with native window features
- 👚 主题配置,黑白模式 | Theme configuration, black and white mode
+- 📐 交互安全区 | Interactive Security Zone
- 🌍 全球化支持 | Internationale
- 🦜 SVG 矢量图 | SVG vector graphics
- 👓 DPI 适配 | DPI adaptation
diff --git a/doc/wiki/en/AOT.md b/doc/wiki/en/AOT.md
index eabe7a24..8a646e6f 100644
--- a/doc/wiki/en/AOT.md
+++ b/doc/wiki/en/AOT.md
@@ -62,13 +62,13 @@ ComWrappers.RegisterForMarshalling(WinFormsComInterop.WebView2.WebView2ComWrappe
-
-
-
-
-
-
-
+
+
+
+
+
+
+
```
diff --git a/doc/wiki/en/Config.md b/doc/wiki/en/Config.md
index 5fdab307..7b554181 100644
--- a/doc/wiki/en/Config.md
+++ b/doc/wiki/en/Config.md
@@ -75,7 +75,7 @@ AntdUI.Config.EmojiEnabled = true;
AntdUI.Config.ScrollBarHide = false;
```
-### MinimumSize of ScrollBar Y 🔴
+### MinimumSize of ScrollBar Y
> Default `30`
@@ -114,7 +114,7 @@ AntdUI.Config.ShowInWindowByNotification = true;
AntdUI.Config.NoticeWindowOffsetXY = 0;
```
-### Close Message/Notification immediately after exceeding the display limit 🔴
+### Close Message/Notification immediately after exceeding the display limit
> Default, wait for old ones to close before displaying
@@ -128,7 +128,7 @@ AntdUI.Config.NoticeOverflowClose = false;
AntdUI.Config.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
```
-### Text Rendering HighQuality 🔴
+### Text Rendering HighQuality
``` csharp
AntdUI.Config.TextRenderingHighQuality = true;
diff --git a/doc/wiki/en/Control/Alert.md b/doc/wiki/en/Control/Alert.md
index d682167c..d0f8d425 100644
--- a/doc/wiki/en/Control/Alert.md
+++ b/doc/wiki/en/Control/Alert.md
@@ -8,7 +8,7 @@
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -16,15 +16,16 @@ Name | Description | Type | Default Value |
🌏 **LocalizationText** | International Text | string`?` | `null` |
**TextTitle** | Title | string`?` | `null` |
🌏 **LocalizationTextTitle** | International Title | string`?` | `null` |
+**TextAlign** | Text alignment | ContentAlignment | MiddleLeft |
**Radius** | Rounded corners | int | 6 |
**BorderWidth** | Border width | float | 0F |
**Icon** | Style | [TType](Enum.md#ttype) | None |
-**IconSvg** | Custom icon | string`?` | `null` |
-**CloseIcon** | Show close icon | bool | false |
-**IconRatio** | Icon ratio | float | 0.86F |
-**IconGap** | Icon text gap ratio | float | 0.4F |
+**IconSvg** | Custom icon SVG | string`?` | `null` |
+**CloseIcon** | Whether to show close icon | bool | false |
+**IconRatio** | Icon ratio | float`?` | `null` |
+**IconGap** | Icon text gap ratio | float`?` | `null` |
**Loop** | Text carousel | bool | false |
-**LoopOverflow** | Carousel only when text overflows | bool | false |
+**LoopOverflow** | Overflow carousel | bool | false |
**LoopSpeed** | Text carousel speed | int | 10 |
**LoopInfinite** | Endless carousel text | bool | true |
**LoopPauseOnMouseEnter** | Pause carousel on mouse enter | bool | true |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Avatar.md b/doc/wiki/en/Control/Avatar.md
index ed48cf40..d0c5f2ba 100644
--- a/doc/wiki/en/Control/Avatar.md
+++ b/doc/wiki/en/Control/Avatar.md
@@ -1,25 +1,26 @@
[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
-## Avatar 👚
+## Avatar
+👚
> Used to represent users or things, supporting the display of images, icons, or characters.
- DefaultProperty:Image
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**OriginalBackColor** | Original background color | Color | Transparent |
||||
-**BackColor** | Background color | Color`?` |`null` |
+**BackColor** | Background color | Color | Transparent |
**BorderWidth** | Border width | float | 0F |
**BorderColor** | Border color | Color | 246, 248, 250 |
||||
**Text** | Text | string`?` | `null` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
-**Radius** | Rounded corners | int | 6 |
+**Radius** | Rounded corners | int | 0 |
**Round** | Rounded corner style | bool | false |
||||
**Image** | Image | Image`?` | `null` |
@@ -33,5 +34,12 @@ Name | Description | Type | Default Value |
**ShadowOffsetX** | Shadow offset X | int | 0 |
**ShadowOffsetY** | Shadow offset Y | int | 0 |
||||
-**Loading** 🔴 | Loading State | bool | false |
-**LoadingProgress** 🔴 | Loading progress `0F-1F` | float | 0F |
\ No newline at end of file
+**Loading** | Loading State | bool | false |
+**LoadingProgress** | Loading progress `0F-1F` | float | 0F |
+||||
+**EnableHover** | Enable hover interaction | bool | false |
+**HoverFore** | Hover foreground | Color`?` | `null` |
+**HoverBack** | Hover background | Color`?` | `null` |
+**HoverImage** | Hover icon | Image`?` | `null` |
+**HoverImageSvg** | Hover icon SVG | string`?` | `null` |
+**HoverImageRatio** | Hover icon ratio | float | 0.4F |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Badge.md b/doc/wiki/en/Control/Badge.md
index b176dbdf..ca71c1ec 100644
--- a/doc/wiki/en/Control/Badge.md
+++ b/doc/wiki/en/Control/Badge.md
@@ -8,7 +8,7 @@
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -16,11 +16,11 @@ Name | Description | Type | Default Value |
**AutoSizeMode** | Auto size mode | [TAutoSize](Enum.md#tautosize) | None |
||||
**ForeColor** | Text color | Color`?` | `null` |
-**Fill** | Fill color | Color`?` | `null` |
+**Fill** | Color | Color`?` | `null` |
**State** | State | [TState](Enum.md#tstate) | Default |
**Text** | Text | string`?` | `null` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
-**TextAlign** | Text position | ContentAlignment | MiddleCenter |
+**TextAlign** | Text position | ContentAlignment | MiddleLeft |
||||
-**DotRatio** 🔴 | Dot ratio | float | 0.4F |
-**Gap** 🔴 | Gap | int | 0 |
\ No newline at end of file
+**DotRatio** | Dot ratio | float | 0.4F |
+**Gap** | Gap | int | 0 |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Battery.md b/doc/wiki/en/Control/Battery.md
index 5ac470e0..8a321c59 100644
--- a/doc/wiki/en/Control/Battery.md
+++ b/doc/wiki/en/Control/Battery.md
@@ -8,7 +8,7 @@
- DefaultProperty:Value
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -24,5 +24,5 @@ Name | Description | Type | Default Value |
**FillFully** | Full charge color | Color | 0, 210, 121 |
**FillWarn** | Warning battery color | Color | 250, 173, 20 |
**FillDanger** | Dangerous battery color | Color | 255, 77, 79 |
-**ValueWarn** 🔴 | Warning battery threshold | int | 30 |
-**ValueDanger** 🔴 | Dangerous electricity threshold | int | 20 |
\ No newline at end of file
+**ValueWarn** | Warning battery threshold | int | 30 |
+**ValueDanger** | Dangerous battery threshold | int | 20 |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Breadcrumb.md b/doc/wiki/en/Control/Breadcrumb.md
index 225f15e5..a4201911 100644
--- a/doc/wiki/en/Control/Breadcrumb.md
+++ b/doc/wiki/en/Control/Breadcrumb.md
@@ -8,7 +8,7 @@
- DefaultProperty:Items
- DefaultEvent:ItemClick
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -18,11 +18,11 @@ Name | Description | Type | Default Value |
**Radius** | Rounded corners | int | 4 |
**Gap** | Gap | int | 12 |
||||
-**Items** | Data `BreadcrumbItem[]` | [BreadcrumbItem[]](#breadcrumbitem) | [] |
+**Items** | Data | BreadcrumbItemCollection | [] |
||||
**PauseLayout** | Pause Layout | bool | false |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
@@ -35,9 +35,9 @@ Name | Description | Return Value | Parameters |
Name | Description | Type | Default Value |
:--|:--|:--|:--|
-**ID** | ID | string`?` |`null`|
+**ID** | ID | string`?` | `null` |
**Icon** | Icon | Image`?` | `null` |
-**IconSvg** | Icon SVG | string | `null` |
-**Text** | Text | string | `Required` |
+**IconSvg** | Icon SVG | string`?` | `null` |
+**Text** | Text | string`?` | `null` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
**Tag** | User defined data | object`?` | `null` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Button.md b/doc/wiki/en/Control/Button.md
index 3696cc83..b3354763 100644
--- a/doc/wiki/en/Control/Button.md
+++ b/doc/wiki/en/Control/Button.md
@@ -8,7 +8,7 @@
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -24,7 +24,7 @@ Name | Description | Type | Default Value |
**BackColor** | Background color | Color`?` | `null` |
**BackExtend** | Background gradient color | string`?` | `null` |
**BackHover** | Hover background color | Color`?` | `null` |
-**BackActive** | Activate background color | Color`?` | `null` |
+**BackActive** | Active background color | Color`?` | `null` |
||||
**DefaultBack** | Default type background color | Color`?` | `null` |
**DefaultBorderColor** | Default type border color | Color`?` | `null` |
diff --git a/doc/wiki/en/Control/Calendar.md b/doc/wiki/en/Control/Calendar.md
index 98e0c8d4..97ba1bca 100644
--- a/doc/wiki/en/Control/Calendar.md
+++ b/doc/wiki/en/Control/Calendar.md
@@ -8,46 +8,53 @@
- DefaultProperty:Date
- DefaultEvent:DateChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
||||
**Radius** | Rounded corners | int | 6 |
||||
-**Full** | Is it fully supported | bool | false |
-**ShowChinese** | Display Lunar Calendar | bool | false |
-**ShowButtonToDay** | Display today | bool | true |
+**Full** | Whether to fill | bool | false |
+**ShowChinese** | Show lunar calendar | bool | false |
+**ShowButtonToDay** | Show today | bool | true |
||||
**Value** | Current date | DateTime | `DateTime.Now` |
**MinDate** | Min date | DateTime`?` | `null` |
**MaxDate** | Max date | DateTime`?` | `null` |
+||||
+**Back** | Background color | Color`?` | `null` |
+**BackExtend** | Background gradient color | string`?` | `null` |
+**Fore** | Text color | Color`?` | `null` |
### Badge on the date
~~~ csharp
BadgeAction = dates =>
{
- // The dates parameter is FHIR [], and the array length is fixed at 2. It returns the start and end dates displayed on the UI
- // DateTime start_date = dates[0], end_date = dates[1];
- var now = dates[1];
- return new List {
- new AntdUI.DateBadge(now.ToString("yyyy-MM-dd"),0,Color.FromArgb(112, 237, 58)),
- new AntdUI.DateBadge(now.AddDays(1).ToString("yyyy-MM-dd"),5),
- new AntdUI.DateBadge(now.AddDays(-2).ToString("yyyy-MM-dd"),99),
- new AntdUI.DateBadge(now.AddDays(-6).ToString("yyyy-MM-dd"),998),
- };
+ // The dates parameter is FHIR [], and the array length is fixed at 2. It returns the start and end dates displayed on the UI
+ // DateTime start_date = dates[0], end_date = dates[1];
+ var now = dates[1];
+ return new List {
+ new AntdUI.DateBadge(now.ToString("yyyy-MM-dd"),0,Color.FromArgb(112, 237, 58)),
+ new AntdUI.DateBadge(now.AddDays(1).ToString("yyyy-MM-dd"),5),
+ new AntdUI.DateBadge(now.AddDays(-2).ToString("yyyy-MM-dd"),99),
+ new AntdUI.DateBadge(now.AddDays(-6).ToString("yyyy-MM-dd"),998),
+ };
};
~~~
-### Method
+### Methods
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
-**LoadBadge** | Load Badge | void | |
+**LoadBadge** | Load badge | void | |
+**SetBadge** | Set badge | void | Dictionary dir |
+**SetBadge** | Set badge | void | IList dir |
+**SetMinMax** | Set min and max date | void | DateTime min, DateTime max |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
-**DateChanged** | Occurred when the Value changes | void | DateTime value |
\ No newline at end of file
+**DateChanged** | Occurred when the value changes | void | DateTime value |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Carousel.md b/doc/wiki/en/Control/Carousel.md
index c83e08a1..9bd4fe09 100644
--- a/doc/wiki/en/Control/Carousel.md
+++ b/doc/wiki/en/Control/Carousel.md
@@ -8,7 +8,7 @@
- DefaultProperty:Image
- DefaultEvent:SelectIndexChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -25,11 +25,11 @@ Name | Description | Type | Default Value |
**Radius** | Rounded corners | int | 0 |
**Round** | Rounded corner style | bool | false |
||||
-**Image** | Image Collection `CarouselItem[]` | [CarouselItem[]](#carouselitem) | [] |
+**Image** | Image Collection `CarouselItemCollection` | [CarouselItemCollection](#carouselitem) | [] |
**ImageFit** | Image layout | [TFit](Enum.md#tfit) | Cover |
**SelectIndex** | Select index | int | 0 |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
@@ -41,5 +41,6 @@ Name | Description | Return Value | Parameters |
Name | Description | Type | Default Value |
:--|:--|:--|:--|
+**ID** | ID | string`?` | `null` |
**Img** | Image | Image`?` | `null` |
**Tag** | User defined data | object`?` | `null` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Checkbox.md b/doc/wiki/en/Control/Checkbox.md
index 5dce973e..066b1f74 100644
--- a/doc/wiki/en/Control/Checkbox.md
+++ b/doc/wiki/en/Control/Checkbox.md
@@ -8,7 +8,7 @@
- DefaultProperty:Checked
- DefaultEvent:CheckedChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -21,13 +21,14 @@ Name | Description | Type | Default Value |
**Text** | Text | string`?` | `null` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
**TextAlign** | Text position | ContentAlignment | MiddleLeft |
+**UseMnemonic** | Mnemonic key | bool | true |
**Checked** | Checked state | bool | false |
**CheckState** | Checked state | CheckState | Unchecked |
-**AutoCheck** | Click to automatically change the selected status | bool | true |
+**AutoCheck** | Auto check on click | bool | true |
||||
**RightToLeft** | Reverse | RightToLeft | No |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
diff --git a/doc/wiki/en/Control/Collapse.md b/doc/wiki/en/Control/Collapse.md
index 8a2ca65e..895a1abc 100644
--- a/doc/wiki/en/Control/Collapse.md
+++ b/doc/wiki/en/Control/Collapse.md
@@ -8,30 +8,37 @@
- DefaultProperty:Items
- DefaultEvent:ExpandChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
+**AutoSize** | Auto size | bool | false |
**ForeColor** | Text color | Color`?` | `null` |
+**ForeActive** | Text active color | Color`?` | `null` |
**HeaderBg** | Head background | Color`?` | `null` |
-**HeaderPadding** | Head margin | Size | 16, 12 |
-**ContentPadding** | Content margin | Size | 16, 16 |
+**HeaderPadding** | Head padding | Size | 16, 12 |
+**ContentPadding** | Content padding | Size | 16, 16 |
||||
**BorderWidth** | Border width | float | 1F |
**BorderColor** | Border color | Color`?` | `null` |
||||
-**Radius** | Rounded corners | int |6 |
+**Radius** | Rounded corners | int | 6 |
**Gap** | Gap | int | 0 |
**Unique** | Keep only one unfolded | bool | false |
+**UniqueFull** | One expanded full | bool | false |
+**AnimationSpeed** | Expand/collapse animation speed | int | 100 |
+**FontExpand** | Expanded title font | Font`?` | `null` |
+**TooltipConfig** | Text overflow tooltip configuration | TooltipConfig`?` | `null` |
||||
-**Items** | Data `CollapseItem[]` | [CollapseItem[]](#collapseitem) | [] |
+**Items** | Data collection | CollapseItemCollection | - |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
-**ExpandChanged** | Occurrence when Expand attribute value changes | void | [CollapseItem](#collapseitem) value, bool Expand `Expand or not` |
-
+**ExpandChanged** | Occurs when Expand property value changes | void | [CollapseItem](#collapseitem) value, bool Expand `Expand or not` |
+**ExpandingChanged** | Occurs when Expanding property value changes | void | [CollapseItem](#collapseitem) value, bool Expand `Expand or not` |
+**ButtonClick** | Occurs when button on CollapseItem is clicked | void | [CollapseItem](#collapseitem) value, CollapseGroupButton button `Button` |
### Data
@@ -41,7 +48,8 @@ Name | Description | Return Value | Parameters |
Name | Description | Type | Default Value |
:--|:--|:--|:--|
-**Expand** | Expand | bool | true |
-**Full** 🔴 | Is the remaining space fully filled | bool | false |
-**Text** | Text | string`?` | `null` |
-🌏 **LocalizationText** | International Text | string`?` | `null` |
\ No newline at end of file
+**Expand** | Whether to expand | bool | false |
+**Full** | Whether to fill remaining space | bool | false |
+**Text** | Text | string | "" |
+🌏 **LocalizationText** | International text | string`?` | `null` |
+**Buttons** | Button collection | CollapseGroupButtonCollection | - |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/ColorPicker.md b/doc/wiki/en/Control/ColorPicker.md
index 0eaf8068..f9a7d43f 100644
--- a/doc/wiki/en/Control/ColorPicker.md
+++ b/doc/wiki/en/Control/ColorPicker.md
@@ -8,7 +8,7 @@
- DefaultProperty:Value
- DefaultEvent:ValueChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -33,11 +33,11 @@ Name | Description | Type | Default Value |
**ShowSymbol** | Display custom symbol (length<4) | bool | false |
**Text** | Text | string | `""` |
||||
-**JoinLeft** 🔴 | Connect left area `Combination button` | bool | false |
-**JoinRight** 🔴 | Connect right area `Combination button` | bool | false |
**JoinMode** | Combination mode | [TJoinMode](Enum.md#tjoinmode) | None |
+**JoinLeft** | Connect left area `Combination button` (Obsolete, use JoinMode) | bool | false |
+**JoinRight** | Connect right area `Combination button` (Obsolete, use JoinMode) | bool | false |
||||
-**Value** | Value of color | Color | Style.Db.Primary `Theme color` |
+**Value** | Value of color | Color | Colour.Primary.Get(nameof(ColorPicker)) `Theme color` |
**DisabledAlpha** | Disable transparency | bool | false |
**AllowClear** | Support clearing | bool | false |
**ShowClose** | Display the close button | bool | false |
@@ -51,14 +51,14 @@ Name | Description | Type | Default Value |
**DropDownArrow** | Is the dropdown arrow displayed | bool | true |
**DropDownFontRatio** | Dropdown font ratio | float | 0.9F |
-### Method
+### Methods
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
**ClearValue** | Clear value | void | |
**ClearValue** | Clear value | void | Color def `Default Color` |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
diff --git a/doc/wiki/en/Control/ContextMenuStrip.md b/doc/wiki/en/Control/ContextMenuStrip.md
index c166b9d7..04f4514c 100644
--- a/doc/wiki/en/Control/ContextMenuStrip.md
+++ b/doc/wiki/en/Control/ContextMenuStrip.md
@@ -9,7 +9,7 @@
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Target** | Target | Target | `Required` |
-**Control** | Belonging Control | Form | `Required` |
+**Control** | Belonging Control `Obsolete, use Target` | Form | `Required` |
**Items** | Menu content `IContextMenuStripItem[]` | [IContextMenuStripItem[]](#contextmenustripitem) | [] |
**Font** | Font | Font |`null`|
**Radius** | Rounded corners | int | 6 |
@@ -41,7 +41,7 @@ Name | Description | Type | Default Value |
**Fore** | Text color | Color`?` | `null` |
**Icon** | Icon | Image`?` | `null` |
**IconSvg** | Icon SVG | string`?` | `null` |
-**Enabled** 🔴 | Enable | bool | true |
+**Enabled** | Enable | bool | true |
**Checked** | Checked | bool | false |
**Sub** | Sub item `IContextMenuStripItem[]` | [IContextMenuStripItem[]](#contextmenustripitem) | `null` |
**Tag** | User defined data | object`?` | `null` |
@@ -74,7 +74,7 @@ Name | Description | Type | Default Value |
**Fore** | Text color | Color`?` | `null` |
**Icon** | Icon | Image`?` | `null` |
**IconSvg** | Icon SVG | string`?` | `null` |
-**Enabled** 🔴 | Enable | bool | true |
+**Enabled** | Enable | bool | true |
**Checked** | Checked | bool | false |
**Tag** | User defined data | object`?` | `null` |
@@ -84,109 +84,109 @@ Name | Description | Type | Default Value |
~~~csharp
string svg_back = "",
- svg_refresh = "",
- svg_save = "",
- svg_print = "",
- svg_laptop = "",
- svg_qr = "",
- svg_a = "",
- svg_fy = "",
- svg_add = "",
- svg_share = "",
- svg_about = "";
+ svg_refresh = "",
+ svg_save = "",
+ svg_print = "",
+ svg_laptop = "",
+ svg_qr = "",
+ svg_a = "",
+ svg_fy = "",
+ svg_add = "",
+ svg_share = "",
+ svg_about = "";
var menulist = new AntdUI.IContextMenuStripItem[]
{
- new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
- {
- IconSvg = svg_back
- },
- new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
- {
- IconSvg = svg_refresh
- },
- new AntdUI.ContextMenuStripItemDivider(),
- new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
- {
- IconSvg = svg_save
- },
- new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
- {
- IconSvg = svg_print
- },
- new AntdUI.ContextMenuStripItemDivider(),
- new AntdUI.ContextMenuStripItem("发送标签页到你的设备")
- {
- IconSvg = svg_laptop
- },
- new AntdUI.ContextMenuStripItem("为此页面创建QR代码")
- {
- IconSvg = svg_qr
- },
- new AntdUI.ContextMenuStripItem("大声朗读", "Ctrl+Shift+U")
- {
- IconSvg = svg_a
- },
- new AntdUI.ContextMenuStripItem("翻译为 中文(简体)")
- {
- IconSvg = svg_fy
- },
- new AntdUI.ContextMenuStripItem("将页面添加到集锦")
- {
- Sub = new AntdUI.IContextMenuStripItem[]
- {
- new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
- {
- IconSvg = svg_back,
- Sub = new AntdUI.IContextMenuStripItem[]
- {
- new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
- {
- IconSvg = svg_back
- },
- new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
- {
- IconSvg = svg_refresh, Checked = true
- },
- new AntdUI.ContextMenuStripItemDivider(),
- new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
- {
- IconSvg = svg_save
- },
- new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
- {
- IconSvg = svg_print
- },
- },
- },
- new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
- {
- IconSvg = svg_refresh, Checked = true
- },
- new AntdUI.ContextMenuStripItemDivider(),
- new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
- {
- IconSvg = svg_save
- },
- new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
- {
- IconSvg = svg_print
- },
- },
- IconSvg = svg_add
- },
- new AntdUI.ContextMenuStripItemDivider(),
- new AntdUI.ContextMenuStripItem("共享")
- {
- IconSvg = svg_share
- },
- new AntdUI.ContextMenuStripItem("关于")
- {
- IconSvg = svg_about
- },
+ new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
+ {
+ IconSvg = svg_back
+ },
+ new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
+ {
+ IconSvg = svg_refresh
+ },
+ new AntdUI.ContextMenuStripItemDivider(),
+ new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
+ {
+ IconSvg = svg_save
+ },
+ new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
+ {
+ IconSvg = svg_print
+ },
+ new AntdUI.ContextMenuStripItemDivider(),
+ new AntdUI.ContextMenuStripItem("发送标签页到你的设备")
+ {
+ IconSvg = svg_laptop
+ },
+ new AntdUI.ContextMenuStripItem("为此页面创建QR代码")
+ {
+ IconSvg = svg_qr
+ },
+ new AntdUI.ContextMenuStripItem("大声朗读", "Ctrl+Shift+U")
+ {
+ IconSvg = svg_a
+ },
+ new AntdUI.ContextMenuStripItem("翻译为 中文(简体)")
+ {
+ IconSvg = svg_fy
+ },
+ new AntdUI.ContextMenuStripItem("将页面添加到集锦")
+ {
+ Sub = new AntdUI.IContextMenuStripItem[]
+ {
+ new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
+ {
+ IconSvg = svg_back,
+ Sub = new AntdUI.IContextMenuStripItem[]
+ {
+ new AntdUI.ContextMenuStripItem("返回", "Alt+向左键")
+ {
+ IconSvg = svg_back
+ },
+ new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
+ {
+ IconSvg = svg_refresh, Checked = true
+ },
+ new AntdUI.ContextMenuStripItemDivider(),
+ new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
+ {
+ IconSvg = svg_save
+ },
+ new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
+ {
+ IconSvg = svg_print
+ },
+ },
+ },
+ new AntdUI.ContextMenuStripItem("刷新", "Ctrl+R")
+ {
+ IconSvg = svg_refresh, Checked = true
+ },
+ new AntdUI.ContextMenuStripItemDivider(),
+ new AntdUI.ContextMenuStripItem("另存为", "Ctrl+S")
+ {
+ IconSvg = svg_save
+ },
+ new AntdUI.ContextMenuStripItem("打印", "Ctrl+P")
+ {
+ IconSvg = svg_print
+ },
+ },
+ IconSvg = svg_add
+ },
+ new AntdUI.ContextMenuStripItemDivider(),
+ new AntdUI.ContextMenuStripItem("共享")
+ {
+ IconSvg = svg_share
+ },
+ new AntdUI.ContextMenuStripItem("关于")
+ {
+ IconSvg = svg_about
+ },
};
AntdUI.ContextMenuStrip.open(this, it =>
{
- Debug.WriteLine("Click on the content:" + it.Text);
+ Debug.WriteLine("Click on the content:" + it.Text);
}, menulist);
~~~
\ No newline at end of file
diff --git a/doc/wiki/en/Control/DatePicker.md b/doc/wiki/en/Control/DatePicker.md
index 1ca4861b..c67472d7 100644
--- a/doc/wiki/en/Control/DatePicker.md
+++ b/doc/wiki/en/Control/DatePicker.md
@@ -8,7 +8,7 @@
- DefaultProperty:Value
- DefaultEvent:ValueChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -17,69 +17,38 @@ Name | Description | Type | Default Value |
**Value** | Current date | DateTime`?` | `null` |
**MinDate** | Min date | DateTime`?` | `null` |
**MaxDate** | Max date | DateTime`?` | `null` |
-**Presets** | Presets Menu | object[] | [] |
+**Presets** | Presets | BaseCollection | - |
+**BadgeAction** | Date badge callback | Func?>? | `null` |
||||
**Placement** | Menu pop-up location | [TAlignFrom](Enum.md#talignfrom) | BL |
**DropDownArrow** | Is the dropdown arrow displayed | bool | false |
**ShowIcon** | Display icon or not | bool | true |
**ValueTimeHorizontal** | Horizontal alignment of time item | bool | false |
+**ShowButtonToDay** | Show today | bool | true |
+**Picker** | Picker type | [TDatePicker](Enum.md#tdatepicker) | Date |
+**EnabledValueTextChange** | Whether to update Value when text changes | bool | false |
### Badge on the date
~~~ csharp
BadgeAction = dates =>
{
- // The dates parameter is FHIR [], and the array length is fixed at 2. It returns the start and end dates displayed on the UI
- // DateTime start_date = dates[0], end_date = dates[1];
- var now = dates[1];
- return new List {
- new AntdUI.DateBadge(now.ToString("yyyy-MM-dd"),0,Color.FromArgb(112, 237, 58)),
- new AntdUI.DateBadge(now.AddDays(1).ToString("yyyy-MM-dd"),5),
- new AntdUI.DateBadge(now.AddDays(-2).ToString("yyyy-MM-dd"),99),
- new AntdUI.DateBadge(now.AddDays(-6).ToString("yyyy-MM-dd"),998),
- };
+ // The dates parameter is DateTime[], and the array length is fixed at 2. It returns the start and end dates displayed on the UI
+ // DateTime start_date = dates[0], end_date = dates[1];
+ var now = dates[1];
+ return new List {
+ new AntdUI.DateBadge(now.ToString("yyyy-MM-dd"),0,Color.FromArgb(112, 237, 58)),
+ new AntdUI.DateBadge(now.AddDays(1).ToString("yyyy-MM-dd"),5),
+ new AntdUI.DateBadge(now.AddDays(-2).ToString("yyyy-MM-dd"),99),
+ new AntdUI.DateBadge(now.AddDays(-6).ToString("yyyy-MM-dd"),998),
+ };
};
~~~
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
**ValueChanged** | Occurred when the Value changes | void | DateTime? value |
**PresetsClickChanged** | Occurrence upon preset click | void | object? value `Click on item` |
-
-
-***
-
-
-## DatePickerRange 👚
-
-> Enter or select a date range. Inherited from [Input](Input)
-
-- DefaultProperty:Value
-- DefaultEvent:ValueChanged
-
-### Property
-
-Name | Description | Type | Default Value |
-:--|:--|:--|:--|
-**Format** | Format | string | yyyy-MM-dd `HH:mm:ss Display hour minute second selection box` |
-||||
-**Value** | Current date | DateTime[]`?` | `null` |
-**MinDate** | Min date | DateTime`?` | `null` |
-**MaxDate** | Max date | DateTime`?` | `null` |
-**Presets** | Presets Menu | object[] | [] |
-||||
-**PlaceholderStart** | Displayed watermark text S | string`?` | `null` |
-**PlaceholderEnd** | Displayed watermark text E | string`?` | `null` |
-**SwapSvg** | Exchange icon SVG | string`?` | `null` |
-**Placement** | Menu pop-up location | [TAlignFrom](Enum.md#talignfrom) | BL |
-**DropDownArrow** | Is the dropdown arrow displayed | bool | false |
-**ShowIcon** | Display icon or not | bool | true |
-
-### Event
-
-Name | Description | Return Value | Parameters |
-:--|:--|:--|:--|
-**ValueChanged** | Occurred when the value of the Value property is changed | void | DateTime[]? value |
-**PresetsClickChanged** | Occurrence upon preset click | void | object? value `Click on item` |
\ No newline at end of file
+**ExpandDropChanged** | Occurs when the dropdown expand property changes | void | bool value `Whether to expand` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/DatePickerRange.md b/doc/wiki/en/Control/DatePickerRange.md
new file mode 100644
index 00000000..d659e409
--- /dev/null
+++ b/doc/wiki/en/Control/DatePickerRange.md
@@ -0,0 +1,42 @@
+[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
+
+## DatePickerRange
+👚
+
+> Enter or select a date range. Inherited from [Input](Input)
+
+- DefaultProperty:Value
+- DefaultEvent:ValueChanged
+
+### Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**Format** | Format | string | yyyy-MM-dd `HH:mm:ss Display hour minute second selection box` |
+||||
+**Value** | Current date | DateTime[]`?` | `null` |
+**MinDate** | Min date | DateTime`?` | `null` |
+**MaxDate** | Max date | DateTime`?` | `null` |
+**Presets** | Presets | BaseCollection | - |
+**BadgeAction** | Date badge callback | Func?>? | `null` |
+||||
+**PlaceholderStart** | Displayed watermark text S | string`?` | `null` |
+**LocalizationPlaceholderStart** | Displayed watermark text S (Internationalization) | string`?` | `null` |
+**PlaceholderEnd** | Displayed watermark text E | string`?` | `null` |
+**LocalizationPlaceholderEnd** | Displayed watermark text E (Internationalization) | string`?` | `null` |
+**SwapSvg** | Exchange icon SVG | string`?` | `null` |
+**Placement** | Menu pop-up location | [TAlignFrom](Enum.md#talignfrom) | BL |
+**DropDownArrow** | Is the dropdown arrow displayed | bool | true |
+**ShowIcon** | Display icon or not | bool | true |
+**ValueTimeHorizontal** | Horizontal alignment of time item | bool | false |
+**InteractiveReset** | Interactive reset (whether to start time selection every time) | bool | true |
+**Picker** | Picker type | [TDatePicker](Enum.md#tdatepicker) | Date |
+**EnabledValueTextChange** | Whether to update Value when text changes | bool | false |
+
+### Events
+
+Name | Description | Return Value | Parameters |
+:--|:--|:--|:--|
+**ValueChanged** | Occurred when the value of the Value property is changed | void | DateTime[]? value |
+**PresetsClickChanged** | Occurrence upon preset click | void | object? value `Click on item` |
+**ExpandDropChanged** | Occurs when the dropdown expand property changes | void | bool value `Whether to expand` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Divider.md b/doc/wiki/en/Control/Divider.md
index 8f257c8c..b3b765e9 100644
--- a/doc/wiki/en/Control/Divider.md
+++ b/doc/wiki/en/Control/Divider.md
@@ -8,7 +8,7 @@
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -18,4 +18,5 @@ Name | Description | Type | Default Value |
**TextPadding** | Distance between text and line `Same font size` | float | 0.4F |
**Thickness** | Thickness | float | 0.6F |
**ColorSplit** | Line color | Color`?` | `null` |
-**Text** | Text | string`?` | `null` |
\ No newline at end of file
+**Text** | Text | string`?` | `null` |
+🌏 **LocalizationText** | International text | string`?` | `null` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Drawer.md b/doc/wiki/en/Control/Drawer.md
index 8326159e..89ba9246 100644
--- a/doc/wiki/en/Control/Drawer.md
+++ b/doc/wiki/en/Control/Drawer.md
@@ -12,15 +12,17 @@ Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Form** | Belonging window | Form | `Required` |
**Content** | Content | Control | `Required` |
+**ColorScheme** | Color scheme | [TAMode](Enum.md#tamode) | Auto |
**Mask** | Display mask or not | bool | true |
**MaskClosable** | Click whether to allow the mask to be closed | bool | true |
+**ManualActivateParent** | Manually activate parent window after closing | bool | false |
**Padding** | Padding | int | 24 |
**Align** | Align | [TAlignMini](Enum.md#talignmini) | Right |
**Dispose** | Should it be released | bool | true |
**Tag** | User defined data | object`?` | `null` |
**OnLoad** | Load callback | Action`?` | `null` |
**OnClose** | Close callback | Action`?` | `null` |
-**DisplayDelay** 🔴 | Display Delay `Adding delay can effectively avoid competing with Mask animation` | int | 100 |
+**DisplayDelay** | Display Delay `Adding delay can effectively avoid competing with Mask animation` | int | 100 |
***
@@ -29,16 +31,16 @@ Name | Description | Type | Default Value |
~~~csharp
public partial class UserControl1 : UserControl, AntdUI.ControlEvent
{
- public void LoadCompleted()
- {
- System.Diagnostics.Debug.WriteLine("Load");
- }
+ public void LoadCompleted()
+ {
+ System.Diagnostics.Debug.WriteLine("Load");
+ }
- protected override void Dispose(bool disposing)
- {
- base.Dispose(disposing);
- System.Diagnostics.Debug.WriteLine("Close");
- }
+ protected override void Dispose(bool disposing)
+ {
+ base.Dispose(disposing);
+ System.Diagnostics.Debug.WriteLine("Close");
+ }
}
~~~
@@ -47,8 +49,8 @@ public partial class UserControl1 : UserControl, AntdUI.ControlEvent
~~~csharp
private async void button1_Click(object sender, EventArgs e)
{
- var usercontrol = new UserControl1(form);
- await AntdUI.Drawer.wait(form, usercontrol, AntdUI.TAlignMini.Left);
- System.Diagnostics.Debug.WriteLine("End:" + usercontrol.ToString());
+ var usercontrol = new UserControl1(form);
+ await AntdUI.Drawer.wait(form, usercontrol, AntdUI.TAlignMini.Left);
+ System.Diagnostics.Debug.WriteLine("End:" + usercontrol.ToString());
}
~~~
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Dropdown.md b/doc/wiki/en/Control/Dropdown.md
index 8d6a000d..f63fe8de 100644
--- a/doc/wiki/en/Control/Dropdown.md
+++ b/doc/wiki/en/Control/Dropdown.md
@@ -8,7 +8,7 @@
- DefaultProperty:Text
- DefaultEvent:SelectedValueChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -16,15 +16,19 @@ Name | Description | Type | Default Value |
**Trigger** | Trigger dropdown behavior | [Trigger](Enum.md#trigger) | Click |
**Placement** | Menu pop-up location | [TAlignFrom](Enum.md#talignfrom) | BL |
**MaxCount** | Maximum of displayed items in the list | int | 4 |
-**DropDownRadius** 🔴 | Pull down rounded corner | int`?` | `null` |
+**DropDownRadius** | Pull down rounded corner | int`?` | `null` |
**DropDownArrow** | Is the dropdown arrow displayed | bool | false |
**DropDownPadding** | Pull down margin | Size | 12, 5 |
+**DropDownTextAlign** | Dropdown text alignment | [TAlign](Enum.md#talign) | Left |
**ClickEnd** | Click to the end | bool | false |
+**Empty** | Drop down even if empty | bool | false |
||||
-**Items** | Data [More Styles](../DropdownStyles.md) | object[] | [] |
+**Items** | Data [More Styles](../DropdownStyles.md) | BaseCollection | - |
+**SelectedValue** | Selected value | object`?` | `null` |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
-**SelectedValueChanged** | Occurred when the SelectedValue property value is changed | void | object? value |
\ No newline at end of file
+**SelectedValueChanged** | Occurred when the SelectedValue property value is changed | void | object? value |
+**ItemClick** | Occurs when an item is clicked | void | object? value `Clicked item` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/FloatButton.md b/doc/wiki/en/Control/FloatButton.md
index 32ab7934..66941290 100644
--- a/doc/wiki/en/Control/FloatButton.md
+++ b/doc/wiki/en/Control/FloatButton.md
@@ -11,9 +11,9 @@
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Target** | Belonging target | Target | `Required` |
-**Form** 🔴 | Belonging window | Form | `Required` |
-**Control** 🔴 | Belonging Control | Control`?` ||
-**Font** | Font | Font`?` ||
+**Form** | Belonging window | Form | `Required` |
+**Control** | Belonging Control | Control`?` ||
+**Font** | Font | Font`?` | `null` |
**Align** | Align | [TAlign](Enum.md#talign) | BR |
**Vertical** | Is it in the vertical direction | bool | true |
**TopMost** | Topped | bool | false |
@@ -31,21 +31,20 @@ Name | Description | Type | Default Value |
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Name** | Name | string | `null` |
-**Text** | Text | string`?` | `null` |
-🌏 **LocalizationText** | International Text | string`?` | `null` |
-**Fore** | Text color | Color`?` | `null` |
**Enabled** | Enable | bool | true |
**Loading** | Loading | bool | false |
**LoadingValue** | Loading progress | float | 0.3F |
-**Round** | Rounded corner style | bool | true |
-**Type** | Type | [TTypeMini](Enum.md#ttypemini) | Default |
-**Radius** | Rounded corners | int | 6 |
-**Tag** | User defined data | object`?` | `null` |
-||||
+**Fore** | Text color | Color`?` | `null` |
**Icon** | Custom Icon | Image`?` | `null` |
**IconSvg** | Custom Icon SVG | string`?` | `null` |
-**IconSize** | Icon size `Default automatic size` | Size`?` | `null` |
-||||
+**IconSize** | Icon size | Size`?` | `null` |
+**Text** | Text and other content | string`?` | `null` |
+🌏 **LocalizationText** | Internationalization (Text) | string`?` | `null` |
+**Tooltip** | Tooltip | string`?` | `null` |
+🌏 **LocalizationTooltip** | Internationalization (Tooltip) | string`?` | `null` |
+**Type** | Set button type | [TTypeMini](Enum.md#ttypemini) | Default |
+**Radius** | Rounded corners | int | 6 |
+**Round** | Rounded corner style | bool | true |
**Badge** | Badge text | string`?` | `null` |
**BadgeSvg** | Badge SVG | string`?` | `null` |
**BadgeAlign** | Badge align | [TAlign](Enum.md#talign) | TR |
@@ -57,6 +56,4 @@ Name | Description | Type | Default Value |
**BadgeBack** | Badge background color | Color`?` | `null` |
**BadgeBorderColor** | Badge border color | Color`?` | `null` |
**BadgeBorderWidth** | Badge border width | float`?` | `null` |
-||||
-**Tooltip** | The content of bubbles | string`?` | `null` |
-🌏 **LocalizationTooltip** | International tooltip | string`?` | `null` |
\ No newline at end of file
+**Tag** | User defined data | object`?` | `null` |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/FlowPanel.md b/doc/wiki/en/Control/FlowPanel.md
index 15bfcc50..5b13fcbb 100644
--- a/doc/wiki/en/Control/FlowPanel.md
+++ b/doc/wiki/en/Control/FlowPanel.md
@@ -3,13 +3,15 @@
## FlowPanel
👚
+> FlowPanel Flow Layout
+
- DefaultProperty:Align
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**AutoScroll** | Display scrollbar or not | bool | false |
**Align** | Layout align | [TAlignFlow](Enum.md#talignflow) | LeftCenter |
**Gap** | Gap | int | 0 |
-**PauseLayout** | Pause Layout | bool | false ||
\ No newline at end of file
+**PauseLayout** | Pause Layout | bool | false |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/GridPanel.md b/doc/wiki/en/Control/GridPanel.md
index 2868ae8e..d79b816f 100644
--- a/doc/wiki/en/Control/GridPanel.md
+++ b/doc/wiki/en/Control/GridPanel.md
@@ -7,13 +7,13 @@
> `;` or `enter` to separate rows, `space` to separate columns, each row`:` custom row height before, such as 30:50% 50%
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Span** | Span | string | 50% 50%;50% 50% |
**Gap** | Gap | int | 0 |
-**PauseLayout** | Pause Layout | bool | false ||
+**PauseLayout** | Pause Layout | bool | false |
### ExtenderProvider
diff --git a/doc/wiki/en/Control/HyperlinkLabel.md b/doc/wiki/en/Control/HyperlinkLabel.md
index 7e6a6e72..8259055f 100644
--- a/doc/wiki/en/Control/HyperlinkLabel.md
+++ b/doc/wiki/en/Control/HyperlinkLabel.md
@@ -8,38 +8,40 @@
- DefaultProperty:Text
- DefaultEvent:LinkClicked
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Text** | Text content, support `...` syntax | string`?` | `null` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
-**NormalStyle** | Normal state link style | LinkAppearance | `Default Style` |
-**HoverStyle** | Hover state link style | LinkAppearance | `Default Style` |
-**LinkPadding** | Distance between link and surrounding characters | int | 2 |
-**LinkAutoNavigation** | Whether to automatically open links | bool | true |
-**TextAlign** | Text alignment | ContentAlignment | TopLeft |
-**Shadow** | Enable shadow effect | bool | false |
-**ShadowSize** | Shadow size | int | 2 |
-**ShadowColor** | Shadow color | Color | Color.FromArgb(255, 0, 0, 0) |
-**ShadowOpacity** | Shadow opacity | float | 0.2F |
-**ShadowOffset** | Shadow offset | Point | 1, 1 |
+**TextAlign** | Text position | ContentAlignment | MiddleLeft |
+**Shadow** | Shadow size | int | 0 |
+**ShadowColor** | Shadow color | Color`?` | `null` |
+**ShadowOpacity** | Shadow opacity | float | 0.3F |
+**ShadowOffsetX** | Shadow offset X | int | 0 |
+**ShadowOffsetY** | Shadow offset Y | int | 0 |
+**NormalStyle** | Link style in normal state | LinkAppearance`?` | `null` |
+**HoverStyle** | Link style when mouse hovers | LinkAppearance`?` | `null` |
+**LinkPadding** | Distance between links and surrounding characters | Padding | 2, 0, 2, 0 |
+**LinkAutoNavigation** | Automatically open hyperlinks with default browser | bool | false |
+**AutoSize** | Auto size | bool | false |
+**AutoSizeMode** | Auto size mode | [TAutoSize](Enum.md#tautosize) | None |
+**ForeColor** | Text color | Color`?` | `null` |
-### LinkAppearance Property
+### LinkAppearance Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
-**Color** | Link color | Color | Color.FromArgb(255, 10, 76, 178) |
-**HoverColor** | Hover color | Color | Color.FromArgb(255, 79, 126, 194) |
-**FontStyle** | Font style | FontStyle | FontStyle.Regular |
-**Underline** | Underline | bool | true |
-**HoverUnderline** | Hover underline | bool | true |
+**LinkColor** | Link text color | Color`?` | `null` |
+**LinkStyle** | Link font style | FontStyle | Regular |
+**UnderlineColor** | Underline color | Color`?` | `null` |
+**UnderlineThickness** | Underline thickness (0 for no underline) | int | 1 |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
-**LinkClicked** | Occurred when a link is clicked | void | string `href`, string `text` |
+**LinkClicked** | Occurred when a link is clicked | void | LinkClickedEventArgs `e` |
### Example
diff --git a/doc/wiki/en/Control/Image3D.md b/doc/wiki/en/Control/Image3D.md
new file mode 100644
index 00000000..7f82d75c
--- /dev/null
+++ b/doc/wiki/en/Control/Image3D.md
@@ -0,0 +1,80 @@
+[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
+
+## Image3D
+👚
+
+> A control for displaying images with 3D transition animation effects.
+
+- DefaultProperty:Image
+- DefaultEvent:Click
+
+### Properties
+
+#### Appearance Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**Back** | Background color | Color | Transparent |
+**Radius** | Radius | int | 0 |
+**Round** | Round style | bool | false |
+**Image** | Image | Image`?` | `null` |
+**ImageFit** | Image fit | [TFit](Enum.md#tfit) | Cover |
+
+#### Animation Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**Vertical** | Is vertical | bool | false |
+**Speed** | Speed | int | 10 |
+**Duration** | Duration(ms) | int | 400 |
+
+#### Shadow Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**Shadow** | Shadow size | int | 0 |
+**ShadowColor** | Shadow color | Color`?` | `null` |
+**ShadowOpacity** | Shadow opacity | float | 0.3F |
+**ShadowOffsetX** | Shadow offset X | int | 0 |
+**ShadowOffsetY** | Shadow offset Y | int | 0 |
+
+#### Hover Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**EnableHover** | Enable hover interaction | bool | false |
+**HoverFore** | Hover foreground | Color`?` | `null` |
+**HoverBack** | Hover background | Color`?` | `null` |
+**HoverImage** | Hover image | Image`?` | `null` |
+**HoverImageSvg** | Hover image SVG | string`?` | `null` |
+**HoverImageRatio** | Hover image ratio | float | 0.4F |
+
+### Methods
+
+Name | Description | Return Value | Parameters |
+:--|:--|:--|:--|
+**RunAnimation** | Run animation transition | void | Image`?` `Switch to new image` |
+
+### Example
+
+```csharp
+// Basic usage
+image3D1.Image = Image.FromFile("test.jpg");
+
+// Switch image (with 3D animation)
+image3D1.RunAnimation(Image.FromFile("new.jpg"));
+
+// Configure animation
+image3D1.Vertical = true; // Vertical animation
+image3D1.Speed = 15; // Animation speed
+image3D1.Duration = 600; // Animation duration
+
+// Configure appearance
+image3D1.Radius = 8; // Radius
+image3D1.Shadow = 4; // Shadow size
+
+// Configure hover effect
+image3D1.EnableHover = true;
+image3D1.HoverBack = Color.FromArgb(100, 0, 0, 0);
+image3D1.HoverImageSvg = "";
+```
\ No newline at end of file
diff --git a/doc/wiki/en/Control/ImagePreview.md b/doc/wiki/en/Control/ImagePreview.md
index 549275d7..4edf997c 100644
--- a/doc/wiki/en/Control/ImagePreview.md
+++ b/doc/wiki/en/Control/ImagePreview.md
@@ -8,13 +8,13 @@
- DefaultProperty:SelectIndex
- DefaultEvent:SelectIndexChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**Image** | Image item collection | ImagePreviewItemCollection | `New Collection` |
**SelectIndex** | Currently selected image index | int | 0 |
-**Fit** | Image fit mode | [TFit](Enum.md#tfit) | Contain |
+**Fit** | Image fit mode | [TFit](Enum.md#tfit) | `null` |
**ShowBtn** | Show buttons | bool | true |
**ShowDefaultBtn** | Show default buttons | bool | true |
**BtnSize** | Button size | Size | `42, 46` |
@@ -24,7 +24,7 @@ Name | Description | Type | Default Value |
**BtnPadding** | Button padding | Size | `12, 32` |
**CustomButton** | Custom button collection | ImagePreviewButtonCollection | `New Collection` |
-### Method
+### Methods
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
@@ -37,7 +37,7 @@ Name | Description | Return Value | Parameters |
**ZoomOut** | Zoom out image | void | |
**ZoomIn** | Zoom in image | void | |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
@@ -82,21 +82,21 @@ imagePreview1.Image.Add(new ImagePreviewItem().SetImage(Image.FromFile("img3.jpg
// Async loading
imagePreview1.Image.Add(new ImagePreviewItem().SetImage((index, item) => {
- // Simulate async loading
- Thread.Sleep(1000);
- return Image.FromFile("async.jpg");
+ // Simulate async loading
+ Thread.Sleep(1000);
+ return Image.FromFile("async.jpg");
}));
// Async loading with progress
imagePreview1.Image.Add(new ImagePreviewItem().SetImage((index, item, progress) => {
- // Simulate download progress
- for (int i = 0; i <= 100; i += 10) {
- Thread.Sleep(100);
- // Update progress
- progress(i / 100f, $"Loading {i}%");
- }
- // Loading complete
- return Image.FromFile("prog.jpg");
+ // Simulate download progress
+ for (int i = 0; i <= 100; i += 10) {
+ Thread.Sleep(100);
+ // Update progress
+ progress(i / 100f, $"Loading {i}%");
+ }
+ // Loading complete
+ return Image.FromFile("prog.jpg");
}));
// Add custom button
diff --git a/doc/wiki/en/Control/Input.md b/doc/wiki/en/Control/Input.md
index 3b50068a..62051463 100644
--- a/doc/wiki/en/Control/Input.md
+++ b/doc/wiki/en/Control/Input.md
@@ -44,7 +44,7 @@ Name | Description | Type | Default Value |
**IsTextEmpty** | Is text empty | bool | true |
**TextTotalLine** | Total lines of text | int | 0 |
**ImeMode** | IME (Input Method Editor) Status | ImeMode | NoControl |
-**EmojiFont** | EmojiFont | string | Segoe UI Emoj |
+**EmojiFont** | EmojiFont | string`?` | `null` |
**AcceptsTab** | Does multi line editing allow the input of tab characters | bool | false |
**Multiline** | Multiline | bool | false |
**WordWrap** | Auto wrap | bool | true |
@@ -117,6 +117,11 @@ Name | Description | Return Value | Parameters |
**ClearStyle** | Clear style | void ||
**GetSelectionText** | Get the currently selected text | string? ||
**SelectedText** | Get or set the currently selected text | string? ||
+**IndexOf** | Find the first occurrence of a specified string | int | string value `String to find` |
+**IndexOf** | Find the first occurrence of a string starting from the specified position | int | string value `String to find`, int startIndex `Start search position` |
+**LastIndexOf** | Find the last occurrence of a specified string | int | string value `String to find` |
+**Substring** | Extract substring starting from the specified position | string | int startIndex `Start position` |
+**Substring** | Extract substring of specified length starting from the specified position | string | int startIndex `Start position`, int length `Length to extract` |
||||
**AnimationBlink** | Start blinking animation | void | int interval `Animation interval (milliseconds)`, params Color[] colors `Color values` |
**AnimationBlinkTransition** | Start color transition blinking animation | void | int interval `Animation interval (milliseconds)`, params Color[] colors `Color values` |
@@ -142,62 +147,30 @@ Name | Description | Return Value | Parameters |
``` csharp
private void Input1_VerifyChar(object sender, AntdUI.InputVerifyCharEventArgs e)
{
- NumberFormatInfo numberFormatInfo = CultureInfo.CurrentCulture.NumberFormat;
- string decimalSeparator = numberFormatInfo.NumberDecimalSeparator,
- groupSeparator = numberFormatInfo.NumberGroupSeparator, negativeSign = numberFormatInfo.NegativeSign;
- string keyInput = e.Char.ToString();
- if (char.IsDigit(e.Char))
- {
- e.Result = true; // Numbers can be
- }
- else if (keyInput.Equals(decimalSeparator) || keyInput.Equals(groupSeparator) || keyInput.Equals(negativeSign))
- {
- e.Result = true; // The decimal separator can be used
- }
- else if (e.Char == '\b')
- {
- e.Result = true; // The Backspace key can be used
- }
- else if (e.Char == '。')
- {
- e.ReplaceText = ".";
- e.Result = true; // Replace Chinese period with English period
- }
- else
- {
- e.Result = false;
- }
+ NumberFormatInfo numberFormatInfo = CultureInfo.CurrentCulture.NumberFormat;
+ string decimalSeparator = numberFormatInfo.NumberDecimalSeparator,
+ groupSeparator = numberFormatInfo.NumberGroupSeparator, negativeSign = numberFormatInfo.NegativeSign;
+ string keyInput = e.Char.ToString();
+ if (char.IsDigit(e.Char))
+ {
+ e.Result = true; // Numbers can be
+ }
+ else if (keyInput.Equals(decimalSeparator) || keyInput.Equals(groupSeparator) || keyInput.Equals(negativeSign))
+ {
+ e.Result = true; // The decimal separator can be used
+ }
+ else if (e.Char == '\b')
+ {
+ e.Result = true; // The Backspace key can be used
+ }
+ else if (e.Char == '。')
+ {
+ e.ReplaceText = ".";
+ e.Result = true; // Replace Chinese period with English period
+ }
+ else
+ {
+ e.Result = false;
+ }
}
-```
-
-***
-
-
-## InputNumber
-👚
-
-> Enter a number within certain range with the mouse or keyboard. Inherited from [Input](#input)
-
-- DefaultProperty:Value
-- DefaultEvent:ValueChanged
-
-### Property
-
-Name | Description | Type | Default Value |
-:--|:--|:--|:--|
-**Minimum** | Minimum value | decimal`?` | `null` |
-**Maximum** | Maximum value | decimal`?` | `null` |
-**Value** | Current value | decimal | 0 |
-||||
-**ShowControl** | Controller | bool | true |
-**DecimalPlaces** | Number of decimal places displayed | int | 0 |
-**ThousandsSeparator** | Do you want to display the thousand separator | bool | false |
-**Hexadecimal** | Should values be displayed in hexadecimal format | bool | false |
-**InterceptArrowKeys** | Does the arrow key continuously increase/decrease when pressed | bool | true |
-**Increment** | The amount of increase/decrease each time the arrow key is clicked | decimal | 1 |
-
-### Event
-
-Name | Description | Return Value | Parameters |
-:--|:--|:--|:--|
-**ValueChanged** | Occurred when the value of the Value property is changed | void | decimal value |
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/doc/wiki/en/Control/InputNumber.md b/doc/wiki/en/Control/InputNumber.md
new file mode 100644
index 00000000..3b06a5cc
--- /dev/null
+++ b/doc/wiki/en/Control/InputNumber.md
@@ -0,0 +1,33 @@
+[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
+
+## InputNumber
+👚
+
+> Enter a number within certain range with the mouse or keyboard. Inherited from [Input](Input.md)
+
+- DefaultProperty:Value
+- DefaultEvent:ValueChanged
+
+### Properties
+
+Name | Description | Type | Default Value |
+:--|:--|:--|:--|
+**Minimum** | Minimum value | decimal`?` | `null` |
+**Maximum** | Maximum value | decimal`?` | `null` |
+**Value** | Current value | decimal | 0 |
+||||
+**ShowControl** | Show controller | bool | true |
+**WheelModifyEnabled** | Mouse wheel modify value | bool | true |
+**DecimalPlaces** | Number of decimal places displayed | int | 0 |
+**ThousandsSeparator** | Whether to show thousands separator | bool | false |
+**Hexadecimal** | Whether values should be displayed in hexadecimal | bool | false |
+**InterceptArrowKeys** | Whether to continuously increase/decrease when arrow keys are pressed | bool | true |
+**EnabledValueTextChange** | Whether to update Value when text changes | bool | false |
+**Increment** | The amount to increase/decrease each time the arrow key is clicked | decimal | 1 |
+
+### Events
+
+Name | Description | Return Value | Parameters |
+:--|:--|:--|:--|
+**ValueChanged** | Occurred when the value of the Value property is changed | void | decimal value |
+**ValueFormatter** | Format the numeric value for display | void | InputNumberEventArgs e |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Label.md b/doc/wiki/en/Control/Label.md
index 80752dc6..a6f84b43 100644
--- a/doc/wiki/en/Control/Label.md
+++ b/doc/wiki/en/Control/Label.md
@@ -8,12 +8,13 @@
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**AutoSize** | Auto Size | bool | false |
**AutoSizeMode** | Auto size mode | [TAutoSize](Enum.md#tautosize) | None |
+**AutoSizePadding** | Auto size padding (only MiddleCenter) | bool | false |
||||
**ForeColor** | Text color | Color`?` | `null` |
**ColorExtend** | Text gradient color | string`?` | `null` |
@@ -25,6 +26,7 @@ Name | Description | Type | Default Value |
**TextMultiLine** | Multiple lines | bool | true |
||||
**IconRatio** | Icon Scale | float | 0.7F |
+**IconGap** | Icon and text gap | int | 0 |
**Prefix** | Prefix text | string`?` | `null` |
🌏 **LocalizationPrefix** | International Prefix | string`?` | `null` |
**PrefixSvg** | Prefix SVG | string`?` | `null` |
@@ -35,7 +37,7 @@ Name | Description | Type | Default Value |
**SuffixColor** | Suffix color | Color`?` | `null` |
**Highlight** | Full display of tags | bool | true |
**ShowTooltip** | Exceeding text display Tooltip | bool | true |
-**Rotate** 🔴 | Rotate | [TRotate](Enum.md#trotate) | None |
+**Rotate** | Rotate | [TRotate](Enum.md#trotate) | None |
||||
**Shadow** | Shadow size | int | 0 |
**ShadowColor** | Shadow color | Color`?` | `null` |
diff --git a/doc/wiki/en/Control/LabelLed.md b/doc/wiki/en/Control/LabelLed.md
index 0d5f9770..bd0d8371 100644
--- a/doc/wiki/en/Control/LabelLed.md
+++ b/doc/wiki/en/Control/LabelLed.md
@@ -1,15 +1,16 @@
[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
## LabelLed
+👚
-LED Text Control 👚
+> LED Text Control
> Display a segment of LED style text.
- DefaultProperty:Text
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -17,7 +18,7 @@ Name | Description | Type | Default Value |
🌏 **LocalizationText** | International Text | string`?` | `null` |
|||
**FontSize** | Font size | int`?` | `null` |
-**EmojiFont** | Emoji Font | string | `Segoe UI Emoji` |
+**EmojiFont** | Emoji Font | string`?` | `null` |
|||
**DotSize** | Dot size | int | 4 |
**DotGap** | Dot distance | int | 2 |
diff --git a/doc/wiki/en/Control/LabelTime.md b/doc/wiki/en/Control/LabelTime.md
index f7be58ed..b53ad876 100644
--- a/doc/wiki/en/Control/LabelTime.md
+++ b/doc/wiki/en/Control/LabelTime.md
@@ -8,11 +8,10 @@
- DefaultProperty:ShowTime
- DefaultEvent:Click
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
-**AutoWidth** 🔴 | Auto Width | bool | false |
-||||
-**ForeColor** | Text color | Color | |
-**ShowTime** | Display seconds | bool | true |
\ No newline at end of file
+**ShowTime** | Display seconds | bool | true |
+**AutoWidth** | Auto Width | bool | false |
+**DragMove** | Can drag position | bool | true |
\ No newline at end of file
diff --git a/doc/wiki/en/Control/Menu.md b/doc/wiki/en/Control/Menu.md
index 51227504..8a91bcb6 100644
--- a/doc/wiki/en/Control/Menu.md
+++ b/doc/wiki/en/Control/Menu.md
@@ -8,7 +8,7 @@
- DefaultProperty:Items
- DefaultEvent:SelectChanged
-### Property
+### Properties
Name | Description | Type | Default Value |
:--|:--|:--|:--|
@@ -19,6 +19,7 @@ Name | Description | Type | Default Value |
||||
**Radius** | Rounded corners | int | 6 |
**Round** | Rounded corner style | bool | false |
+**FocusMode** | Focus mode | [TFocusMode](Enum.md#tfocusmode) | None |
**Indent** | Tree like indentation | bool | false |
**ShowSubBack** | Display submenu background | bool | false |
**Unique** | Keep only one submenu expanded | bool | false |
@@ -32,7 +33,7 @@ Name | Description | Type | Default Value |
**MouseRightCtrl** | Mouse right control | bool | true |
**ScrollBarBlock** | Scroll bar block | bool | false |
||||
-**Theme** | Color mode | [TAMode](Enum.md#tamode) | Auto |
+**Theme** | Color mode (Obsolete, use ColorScheme) | [TAMode](Enum.md#tamode) | Auto |
**Mode** | Menu Type | [TMenuMode](Enum.md#tmenumode) | Inline |
**AutoCollapse** | Auto Collapse | bool | false |
**Collapsed** | Whether to fold or not | bool | false |
@@ -46,7 +47,7 @@ Name | Description | Type | Default Value |
**TooltipConfig** | Text overflow tooltip config | TooltipConfig`?` | `null` |
**PauseLayout** | Pause Layout | bool | false |
-### Event
+### Events
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
@@ -55,7 +56,7 @@ Name | Description | Return Value | Parameters |
**SelectChanging** | Occurred before the Select attribute value changes | bool | [MenuItem](#menuitem) item |
**CustomButtonClick** | Occurred when custom button is clicked | void | MenuButton button, [MenuItem](#menuitem) item |
-### Method
+### Methods
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
diff --git a/doc/wiki/en/Control/Message.md b/doc/wiki/en/Control/Message.md
index b6b4c887..9a95a21d 100644
--- a/doc/wiki/en/Control/Message.md
+++ b/doc/wiki/en/Control/Message.md
@@ -8,28 +8,38 @@
> Configure Message
+#### Properties
+
Name | Description | Type | Default Value |
:--|:--|:--|:--|
**ID** | ID | string`?` | `null` |
-**Form** | Belonging window | Form | `Required` |
+**Target** | Target | Target | `Required` |
+**Form** | Belonging window (Obsolete, use Target) | Control`?` | `null` |
**Text** | Text | string | `Required` |
🌏 **LocalizationText** | International Text | string`?` | `null` |
**Icon** | Icon | [TType](Enum.md#ttype) | None |
-**Font** | Font | Font | `null` |
+**IconCustom** | Custom Icon | IconInfo`?` | `null` |
+**Font** | Font | Font`?` | `null` |
**Radius** | Rounded corners | int | 6 |
**AutoClose** | Automatic shutdown time(s) `0 equals not closing` | int | 6 |
**ClickClose** | Can I click to close it | bool | true |
+**TopMost** | Whether to top | bool | false |
**Align** | Align | [TAlignFrom](Enum.md#talignfrom) | Top |
**Padding** | Padding | Size | 12, 9 |
-**ShowInWindow** | Pop up in the window | bool | false |
-**Call** | Load callback | Action`?` | `null` |
+**ShowInWindow** | Pop up in the window | bool`?` | `null` |
+**EnableSound** | Whether to enable sound | bool | false |
+**MaxWidth** | Max width | int`?` | `null` |
+**Back** | Custom background color | Color`?` | `null` |
+**Fore** | Custom foreground color | Color`?` | `null` |
+**Call** | Load callback | object`?` | `null` |
-#### Method
+#### Methods
Name | Description | Return Value | Parameters |
:--|:--|:--|:--|
**close_all** | Close all | void | |
**close_id** | Close specified ID | void | string id |
+**contains** | Determine if the prompt ID exists in the queue | bool | string id, bool time_expand = false |
> Loading business method
diff --git a/doc/wiki/en/Control/Modal.md b/doc/wiki/en/Control/Modal.md
index 5aba8831..3008d2e8 100644
--- a/doc/wiki/en/Control/Modal.md
+++ b/doc/wiki/en/Control/Modal.md
@@ -10,50 +10,49 @@
Name | Description | Type | Default Value |
:--|:--|:--|:--|
-**Target** | Belonging target | object`?` | `null` |
+**Target** | Belonging target | Target | `Required` |
**Form** | Belonging window | Form`?` | `Cannot use mask when empty` | `deprecated, use Target instead` |
-**Title** | Title | string | `Required` |
+**Title** | Title | string`?` | `null` |
**Content** | Control/Content | object | `Required` |
+**ContentPadding** | Content padding | Size | 0, 0 |
+**UseIconPadding** | Use icon padding | bool | true |
**Width** | Modal width | int | 416 |
**Font** | Font | Font`?` | `null` |
-**Icon** | Icon | [TType](Enum.md#ttype) | None |
-**Keyboard** | Does it support disabling keyboard ESC | bool | true |
+**ColorScheme** | Color scheme | [TAMode](Enum.md#tamode) | Auto |
+**Keyboard** | Does it support keyboard ESC | bool | true |
**Mask** | Display Mask | bool | true |
**MaskClosable** | Click whether to allow the mask to be closed | bool | true |
-**CloseIcon** | Display close icon | bool | false |
-**Tag** | User defined data | object`?` | `null` |
-||||
-**ContentPadding** | Content padding | Size | 24, 20 |
-**UseIconPadding** | Use icon padding | bool | true |
-**ColorScheme** | Color scheme | [TColorScheme](Enum.md#tcolorscheme) | Primary |
**ManualActivateParent** | Manually activate parent | bool | false |
-**DefaultFocus** | Default focus | Control`?` | `null` |
-**DefaultAcceptButton** | Default accept button | [Button](#button)`?` | `null` |
-**EnableSound** | Enable sound | bool | true |
-**Resizable** | Resizable | bool | false |
-**MinimumSize** | Minimum size | Size | 300, 200 |
-**MaximumSize** | Maximum size | Size | 1600, 900 |
-**IconCustom** | Custom icon | Bitmap`?` | `null` |
-||||
-**BtnHeight** | Button bar height | int | 38 |
-**CancelText** | Cancel button text | string | "Cancel" |
+**CloseIcon** | Display close icon | bool | false |
+**DefaultFocus** | Default focus | bool | false |
+**DefaultAcceptButton** | Default accept button | bool | true |
**CancelFont** | Cancel button font | Font`?` | `null` |
+**OkFont** | Confirm button font | Font`?` | `null` |
+**BtnHeight** | Button bar height | int | 38 |
+**Padding** | Padding | Size | 24, 20 |
+**CancelText** | Cancel button text | string`?` | "Cancel" |
**OkText** | Confirm button text | string | "OK" |
**OkType** | Confirm button type | [TTypeMini](Enum.md#ttypemini) | Primary |
-**OkFont** | Confirm button Font | Font`?` | `null` |
+**Icon** | Icon | [TType](Enum.md#ttype) | None |
+**IconCustom** | Custom icon | IconInfo`?` | `null` |
**OnOk** | Confirm callback | `Func?` | `null` |
-**OnCancel** | Cancel callback | `Func?` | `null` |
-**OnClose** | Close callback | Action<[TCloseType](Enum.md#tclosetype)> | `null` |
-**OnMaskClick** | Mask click callback | Action | `null` |
-||||
-**Btns** | Custom button | [Btn[]](#modal.btn) | `null` |
-**OnBtns** | Custom button callback | Action<[Button](#button)> | `null` |
-**OnButtonStyle** | Custom button style callback | Action | `null` |
-||||
+**Tag** | User defined data | object`?` | `null` |
**LoadingDisableCancel** | Disable the cancel button during loading | bool | false |
**Draggable** | Drag and drop window | bool | true |
+**EnableSound** | Enable sound | bool | false |
+**Btns** | Custom button | [Btn[]](#modal.btn) | `null` |
+**OnBtns** | Custom button callback | `Func