Skip to content

Commit c17048c

Browse files
committed
fix: spelling, wrong docs reference
1 parent cc58616 commit c17048c

12 files changed

Lines changed: 28 additions & 28 deletions

File tree

data/docs/ui-wpf-modern/02.# onboarding/index.zh-CN.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ui:WindowHelper.UseModernWindowStyle="True"
169169

170170
:::
171171

172-
现在,如果您运行该应用,您可以看到窗口具有现代风格的框架。您还可以使用 `ui:WindowHelper.SystemBackdropType` 属性向窗口添加背景
172+
现在,如果您运行该应用,您可以看到窗口具有现代风格的框架。您还可以使用 `ui:WindowHelper.SystemBackdropType` 属性向窗口添加材质
173173

174174
```ini
175175
ui:WindowHelper.SystemBackdropType="Mica"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "A control that a user can select or clear."
66

77
You can use a CheckBox in the user interface (UI) of your application to represent options that a user can select or clear. You can use a single check box or you can group two or more check boxes.
88

9-
- **Class**: [System.Windows.Controls](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls)[.CheckBox](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.button)
9+
- **Class**: [System.Windows.Controls](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls)[.CheckBox](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.checkbox)
1010

1111
## Examples
1212

@@ -96,7 +96,7 @@ If you have multiple options appearing in a list, you can preserve space by usin
9696

9797
### Styles
9898

99-
There is one built-in style for Button control:
99+
There is one built-in style for CheckBox control:
100100

101101
- **DefaultCheckBoxStyle**: The default style for CheckBox, you can access it with `ui:ThemeKeys.DefaultCheckBoxStyleKey`.
102102

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "用户可以选中或清除的控件。"
66

77
您可以在应用程序的用户界面 (UI) 中使用 CheckBox 来表示用户可以选中或清除的选项。您可以使用单个复选框,也可以将两个或多个复选框分组使用。
88

9-
- ****: [System.Windows.Controls](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls)[.CheckBox](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.button)
9+
- ****: [System.Windows.Controls](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls)[.CheckBox](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.checkbox)
1010

1111
## 示例
1212

@@ -96,7 +96,7 @@ CheckBox 是一个 ContentControl,这意味着它可以包含任意类型的
9696

9797
### 样式
9898

99-
Button 控件有一个内置样式:
99+
CheckBox 控件有一个内置样式:
100100

101101
- **DefaultCheckBoxStyle**:CheckBox 的默认样式,可以通过 `ui:ThemeKeys.DefaultCheckBoxStyleKey` 访问。
102102

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ See more at: ____
8686

8787
### Styles
8888

89-
There is one built-in style for Button control:
89+
There is one built-in style for ComboBox control:
9090

9191
- **DefaultComboBoxStyle**: The default style for ComboBox, you can access it with `ui:ThemeKeys.DefaultComboBoxStyleKey`.
9292

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ ComboBox 允许用户从下拉列表中选择一个项目,或者可以选择
7878

7979
- **TextBoxStyle**: 获取 ComboBox 可编辑时 ComboBox 中 TextBox 的样式。
8080

81-
### 立体边框 (Elevation)
81+
### Elevation
8282

83-
ComboBox 控件默认带有立体边框 (Elevation) 效果。您可以使用 `ui:ElevationBorder` 来自定义其立体效果。
83+
ComboBox 控件默认带有Elevation 效果。您可以使用 `ui:ElevationBorder` 来自定义其立体效果。
8484

8585
查看更多: ____
8686

8787
### 样式
8888

89-
Button 控件内置了一种样式:
89+
ComboBox 控件内置了一种样式:
9090

9191
- **DefaultComboBoxStyle**: ComboBox 的默认样式,您可以使用 `ui:ThemeKeys.DefaultComboBoxStyleKey` 访问它。
9292

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ There is one built-in style for DropDownButton control. Since this is a control
114114

115115
- [Components / MenuFlyout](../menu-and-toolbars/menu-flyout)
116116

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

119119
### Microsoft Learn
120120

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private void Button_SaveScreenshot_Click(object sender, RoutedEventArgs e)
9090

9191
## 备注
9292

93-
### 立体边框 (Elevation)
93+
### Elevation
9494

9595
即将推出
9696

@@ -114,7 +114,7 @@ DropDownButton 控件有一个内置样式。由于这是来自 `iNKORE.UI.WPF.M
114114

115115
- [Components / MenuFlyout](../menu-and-toolbars/menu-flyout)
116116

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

119119
### Microsoft Learn
120120

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A **HyperlinkButton** looks like hyperlink text, but works like a button. You ca
1717
Handle the **Click** event **(Recommended)**. This works just like the **Click** event of a standard **Button**, and can be used to navigate within your app.
1818

1919
```xml
20-
<ui:HyperlinkButton Content="iNKORE's offical site" RaiseHyperlinkClicks="False" Click="HyperlinkButton_Click"/>
20+
<ui:HyperlinkButton Content="iNKORE's official site" RaiseHyperlinkClicks="False" Click="HyperlinkButton_Click"/>
2121
```
2222

2323
```csharp
@@ -43,7 +43,7 @@ Pay attention to **RaiseHyperlinkClicks** property! It will be introduced in the
4343
Set the **NavigateUri** property. When a user clicks it, it will automatically open the URI in the default browser.
4444

4545
```xml
46-
<ui:HyperlinkButton Content="iNKORE's offical site" NavigateUri="https://inkore.net/"/>
46+
<ui:HyperlinkButton Content="iNKORE's official site" NavigateUri="https://inkore.net/"/>
4747
```
4848

4949
## Remarks

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
@@ -17,7 +17,7 @@ HyperlinkButton 显示为文本超链接。当用户点击它时,它会在默
1717
处理 **Click** 事件 **(推荐)**。这与标准 **Button****Click** 事件完全相同,可用于在应用程序内导航。
1818

1919
```xml
20-
<ui:HyperlinkButton Content="iNKORE's offical site" RaiseHyperlinkClicks="False" Click="HyperlinkButton_Click"/>
20+
<ui:HyperlinkButton Content="iNKORE's official site" RaiseHyperlinkClicks="False" Click="HyperlinkButton_Click"/>
2121
```
2222

2323
```csharp
@@ -43,7 +43,7 @@ private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
4343
设置 **NavigateUri** 属性。当用户点击它时,它会自动在默认浏览器中打开 URI。
4444

4545
```xml
46-
<ui:HyperlinkButton Content="iNKORE's offical site" NavigateUri="https://inkore.net/"/>
46+
<ui:HyperlinkButton Content="iNKORE's official site" NavigateUri="https://inkore.net/"/>
4747
```
4848

4949
## 备注

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Window class in represents a window in a Windows application. It provides a
88

99
- **Class**: [System.Windows](https://learn.microsoft.com/en-us/dotnet/api/system.windows)[.Window](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.button)
1010

11-
- **Inheritance**: [Object](https://learn.microsoft.com/en-us/dotnet/api/system.object) → (...) → [Control](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.control)[ContentControl](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.contentcontrol)[Window](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.window)
11+
- **Inheritance**: [Object](https://learn.microsoft.com/en-us/dotnet/api/system.object) → (...) → [Control](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.control)[ContentControl](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.contentcontrol)[Window](https://learn.microsoft.com/en-us/dotnet/api/system.windows.window)
1212

1313
## Examples
1414

@@ -55,13 +55,13 @@ The window is always using the default style and native frames unless you apply
5555

5656
### System backdrops
5757

58-
Since Windows 10, there are a few system-level backdrops that can be applied to the window. You can use **ui:WindowHelper.SystemBackdrop** property to apply the backdrop. For example, you can apply the Mica effect with the following code:
58+
Since Windows 10, there are a few system-level backdrops that can be applied to the window. You can use **ui:WindowHelper.SystemBackdropType** property to apply the backdrop. For example, you can apply the Mica effect with the following code:
5959

6060
```ini
6161
ui:WindowHelper.SystemBackdropType="Mica"
6262
```
6363

64-
![Window with mica effect](with-mica-effect.jpg)
64+
![Window with Mica effect](with-mica-effect.jpg)
6565

6666
### Back button in title bar
6767

0 commit comments

Comments
 (0)