Skip to content

Commit 2097146

Browse files
committed
refactor: documentation for FontIcon, Frame, NavigationView, and TabControl components
- Updated the "See also" sections in the FontIcon and Frame documentation to improve related articles visibility. - Added a new Chinese (zh-CN) documentation file for FontIcon with comprehensive examples and usage guidelines. - Enhanced the Frame documentation with examples for navigation and transition styles, including keyboard navigation handling. - Introduced a new Chinese (zh-CN) documentation file for NavigationView, detailing its usage, examples, and customization options. - Updated the NavigationView documentation to clarify inheritance and added related articles. - Improved the TabControl documentation by adding related articles for better navigation and context.
1 parent c17048c commit 2097146

16 files changed

Lines changed: 1002 additions & 86 deletions

File tree

data/docs/ui-wpf-modern/03. components/01. basic-input/# button/index.zh-CN.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,24 +114,24 @@ Button 控件有两个内置样式:
114114

115115
## 另请参阅
116116

117-
### Microsoft Learn
117+
### 相关文章
118118

119-
- [Button Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.button)
119+
- [组件 / DropDownButton](%BASE_NAME%/components/basic-input/dropdown-button)
120120

121-
- [Button Class (WinRT)](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.button)
121+
- [组件 / ToggleButton](%BASE_NAME%/components/basic-input/toggle-button)
122122

123-
- [Button - WPF](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/controls/button)
123+
- [组件 / SplitButton](%BASE_NAME%/components/basic-input/split-button)
124124

125-
- [Buttons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/controls/buttons)
125+
- [组件 / HyperlinkButton](%BASE_NAME%/components/basic-input/hyperlink-button)
126126

127-
### 相关文章
127+
- [组件 / RepeatButton](%BASE_NAME%/components/basic-input/repeat-button)
128128

129-
- [Components / DropDownButton](%BASE_NAME%/components/basic-input/dropdown-button)
129+
### Microsoft Learn
130130

131-
- [Components / ToggleButton](%BASE_NAME%/components/basic-input/toggle-button)
131+
- [Button Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.button)
132132

133-
- [Components / SplitButton](%BASE_NAME%/components/basic-input/split-button)
133+
- [Button Class (WinRT)](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.button)
134134

135-
- [Components / HyperlinkButton](%BASE_NAME%/components/basic-input/hyperlink-button)
135+
- [Button - WPF](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/controls/button)
136136

137-
- [Components / RepeatButton](%BASE_NAME%/components/basic-input/repeat-button)
137+
- [Buttons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/controls/buttons)

data/docs/ui-wpf-modern/03. components/01. basic-input/# check-box/index.zh-CN.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ CheckBox 控件有一个内置样式:
118118

119119
### 相关文章
120120

121-
- [Components / ToggleButton](%BASE_NAME%/components/basic-input/toggle-button)
121+
- [组件 / ToggleButton](%BASE_NAME%/components/basic-input/toggle-button)
122122

123-
- [Components / ToggleSwitch](%BASE_NAME%/components/basic-input/toggle-switch)
123+
- [组件 / ToggleSwitch](%BASE_NAME%/components/basic-input/toggle-switch)
124124

125-
- [Components / RadioButton](%BASE_NAME%/components/basic-input/radio-button)
125+
- [组件 / RadioButton](%BASE_NAME%/components/basic-input/radio-button)
126126

127127
### Microsoft Learn
128128

data/docs/ui-wpf-modern/03. components/01. basic-input/# combo-box/index.zh-CN.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ ComboBox 控件默认带有Elevation 效果。您可以使用 `ui:ElevationBorde
9494

9595
### 相关文章
9696

97-
- [Components / DropDownButton](./dropdown-button)
97+
- [组件 / DropDownButton](./dropdown-button)
9898

99-
- [Components / ToggleButton](./toggle-button)
99+
- [组件 / ToggleButton](./toggle-button)
100100

101-
- [Components / SplitButton](./split-button)
101+
- [组件 / SplitButton](./split-button)
102102

103-
- [Components / HyperlinkButton](./hyperlink-button)
103+
- [组件 / HyperlinkButton](./hyperlink-button)
104104

105-
- [Components / RepeatButton](./repeat-button)
105+
- [组件 / RepeatButton](./repeat-button)
106106

107107
### Microsoft Learn
108108

data/docs/ui-wpf-modern/03. components/01. basic-input/# dropdown-button/index.zh-CN.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ DropDownButton 控件有一个内置样式。由于这是来自 `iNKORE.UI.WPF.M
106106

107107
### 相关文章
108108

109-
- [Definitions / DropDownButton Class](%BASE_NAME%/definitions/controls/dropdown-button)
109+
- [定义 / DropDownButton Class](%BASE_NAME%/definitions/controls/dropdown-button)
110110

111-
- [Components / AppBarButton](../menu-and-toolbars/appbar-button)
111+
- [组件 / AppBarButton](../menu-and-toolbars/appbar-button)
112112

113-
- [Components / Flyout](../dialogs/flyout)
113+
- [组件 / Flyout](../dialogs/flyout)
114114

115-
- [Components / MenuFlyout](../menu-and-toolbars/menu-flyout)
115+
- [组件 / MenuFlyout](../menu-and-toolbars/menu-flyout)
116116

117-
- [Components / SplitButton](./split-button)
117+
- [组件 / SplitButton](./split-button)
118118

119119
### Microsoft Learn
120120

data/docs/ui-wpf-modern/03. components/01. basic-input/# hyperlink-button/index.zh-CN.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ HyperlinkButton 控件有一个内置样式。由于这是来自 `iNKORE.UI.WPF.
8383

8484
### 相关文章
8585

86-
- [Definitions / HyperlinkButton Class](%BASE_NAME%/definitions/controls/hyperlink-button)
86+
- [定义 / HyperlinkButton Class](%BASE_NAME%/definitions/controls/hyperlink-button)
8787

88-
- [Components / Button](./button)
88+
- [组件 / Button](./button)
8989

9090
### Microsoft Learn
9191

data/docs/ui-wpf-modern/03. components/01. basic-input/# toggle-switch/index.en-US.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ For some actions, either a toggle switch or a check box might work. To decide wh
8888

8989
### Compact Sizing
9090

91-
If you are using ToggleSwitch in a compact layout, you might find out that even if the check box has no content, it takes an amount of space. This is because the **MinWidth** property is set in the default style.
91+
If you are using ToggleSwitch in a compact layout, you might find out that even if the toggle switch has no content, it takes an amount of space. This is because the **MinWidth** property is set in the default style.
9292

9393
![](still-taking-space.png)
9494

data/docs/ui-wpf-modern/03. components/01. basic-input/# toggle-switch/index.zh-CN.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Button 控件有一个内置样式:
8888

8989
### 紧凑尺寸
9090

91-
如果您在紧凑布局中使用 ToggleSwitch,您可能会发现即使复选框没有内容,它也会占用一些空间。这是因为在默认样式中设置了 **MinWidth** 属性。
91+
如果您在紧凑布局中使用 ToggleSwitch,您可能会发现即使 ToggleSwitch 没有内容,它也会占用一些空间。这是因为在默认样式中设置了 **MinWidth** 属性。
9292

9393
![](still-taking-space.png)
9494

@@ -104,13 +104,13 @@ Button 控件有一个内置样式:
104104

105105
### 相关文章
106106

107-
- [Definitions / ToggleSwitch Class](%BASE_NAME%/definitions/controls/toggle-switch)
107+
- [定义 / ToggleSwitch Class](%BASE_NAME%/definitions/controls/toggle-switch)
108108

109-
- [Components / CheckBox](./check-box)
109+
- [组件 / CheckBox](./check-box)
110110

111-
- [Components / ToggleButton](./toggle-button)
111+
- [组件 / ToggleButton](./toggle-button)
112112

113-
- [Components / RadioButton](./radio-button)
113+
- [组件 / RadioButton](./radio-button)
114114

115115
### Microsoft Learn
116116

data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.en-US.mdx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,13 @@ Use the following classes to customize the window control along with the title b
174174

175175
## See also
176176

177-
### Microsoft Learn
178-
179-
- [Window Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.window)
180-
181-
### Related controls
177+
### Related articles
182178

183-
- [Flyout](./flyout)
179+
- [Components / Flyout](./flyout)
184180

185-
- [ContentDialog](./content-dialog)
181+
- [Components / ContentDialog](./content-dialog)
186182

187-
- [MessageBox](./message-box)
188-
189-
### Related articles
183+
- [Components / MessageBox](./message-box)
190184

191185
- [Definitions / WindowHelper](%BASE_NAME%/definitions/controls/helpers/window-helper)
192186

@@ -195,3 +189,7 @@ Use the following classes to customize the window control along with the title b
195189
- [Definitions / WindowCornerStyle](%BASE_NAME%/definitions/helpers/styles/window-corner-style)
196190

197191
- [Definitions / BackdropType](%BASE_NAME%/definitions/helpers/styles/backdrop-type)
192+
193+
### Microsoft Learn
194+
195+
- [Window Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.window)

data/docs/ui-wpf-modern/03. components/04. dialogs/# window/index.zh-CN.mdx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,24 +175,22 @@ ui:WindowHelper.FixMaximizedWindow="False"
175175

176176
## 另请参阅
177177

178-
### Microsoft Learn
178+
### 相关文章
179179

180-
- [Window Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.window)
180+
- [组件 / Flyout](./flyout)
181181

182-
### 相关控件
182+
- [组件 / ContentDialog](./content-dialog)
183183

184-
- [Flyout](./flyout)
184+
- [组件 / MessageBox](./message-box)
185185

186-
- [ContentDialog](./content-dialog)
186+
- [定义 / WindowHelper](%BASE_NAME%/definitions/controls/helpers/window-helper)
187187

188-
- [MessageBox](./message-box)
188+
- [定义 / TitleBar](%BASE_NAME%/definitions/controls/primitives/titlebar)
189189

190-
### 相关文章
190+
- [定义 / WindowCornerStyle](%BASE_NAME%/definitions/helpers/styles/window-corner-style)
191191

192-
- [Definitions / WindowHelper](%BASE_NAME%/definitions/controls/helpers/window-helper)
192+
- [定义 / BackdropType](%BASE_NAME%/definitions/helpers/styles/backdrop-type)
193193

194-
- [Definitions / TitleBar](%BASE_NAME%/definitions/controls/primitives/titlebar)
195-
196-
- [Definitions / WindowCornerStyle](%BASE_NAME%/definitions/helpers/styles/window-corner-style)
194+
### Microsoft Learn
197195

198-
- [Definitions / BackdropType](%BASE_NAME%/definitions/helpers/styles/backdrop-type)
196+
- [Window Class (WPF)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.window)

data/docs/ui-wpf-modern/03. components/06. media/# font-icon/index.en-US.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -169,28 +169,28 @@ If you're using the pre-bundled icon sets from Microsoft, please pay attention t
169169

170170
## See also
171171

172-
### Microsoft Learn
172+
### Related articles
173173

174-
- [Segoe Fluent Icons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font)
174+
- [Components / ImageIcon](./image-icon)
175175

176-
- [Segoe MDL2 Assets icons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-ui-symbol-font)
176+
- [Components / SymbolIcon](./symbol-icon)
177177

178-
- [Design toolkits and samples for Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/downloads#fonts)
178+
- [Components / PathIcon](./path-icon)
179179

180-
- [Iconography in Windows 11](https://learn.microsoft.com/en-us/windows/apps/design/signature-experiences/iconography)
180+
- [Components / IconAndText](./icon-and-text)
181181

182-
- [FontIcon Class (WinRT)](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.fonticon)
182+
- [Components / Button](../basic-input/button)
183183

184-
### Related controls
184+
- [Components / AppBarButton](../menu-and-toolbars/appbar-button)
185185

186-
- [ImageIcon](./image-icon)
186+
### Microsoft Learn
187187

188-
- [SymbolIcon](./symbol-icon)
188+
- [Segoe Fluent Icons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font)
189189

190-
- [PathIcon](./path-icon)
190+
- [Segoe MDL2 Assets icons - Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-ui-symbol-font)
191191

192-
- [IconAndText](./icon-and-text)
192+
- [Design toolkits and samples for Windows apps](https://learn.microsoft.com/en-us/windows/apps/design/downloads#fonts)
193193

194-
- [Button](../basic-input/button)
194+
- [Iconography in Windows 11](https://learn.microsoft.com/en-us/windows/apps/design/signature-experiences/iconography)
195195

196-
- [AppBarButton](../menu-and-toolbars/appbar-button)
196+
- [FontIcon Class (WinRT)](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.fonticon)

0 commit comments

Comments
 (0)