diff --git a/includes/visual-property-note.md b/includes/visual-property-note.md
index d27d41c1e6a..13469bd37ba 100644
--- a/includes/visual-property-note.md
+++ b/includes/visual-property-note.md
@@ -1,3 +1,2 @@
> [!NOTE]
-> Setting a visual property only has an effect if that property is both present in the control's default template and is set by using a [TemplateBinding](/dotnet/framework/wpf/advanced/templatebinding-markup-extension). You can find a list of visual properties in the [Changing the Visual Structure of a Control](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control#changing-the-visual-structure-of-a-control) section in the [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control) article.
-
+> Setting a visual property only has an effect if that property is both present in the control's default template and set by using a [TemplateBinding](/dotnet/framework/wpf/advanced/templatebinding-markup-extension).
diff --git a/xml/System.Windows.Controls.Primitives/DatePickerTextBox.xml b/xml/System.Windows.Controls.Primitives/DatePickerTextBox.xml
index 606784e2725..57ea83c03dd 100644
--- a/xml/System.Windows.Controls.Primitives/DatePickerTextBox.xml
+++ b/xml/System.Windows.Controls.Primitives/DatePickerTextBox.xml
@@ -29,18 +29,18 @@
Represents the text input of a .
- control enables users to type a date directly into a .
-
-## Customizing the DatePickerTextBox Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [DatePicker Styles and Templates](/dotnet/framework/wpf/controls/datepicker-styles-and-templates).
-
+ control enables users to type a date directly into a .
+
+## Customizing the DatePickerTextBox Control
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [DatePicker Styles and Templates](/dotnet/framework/wpf/controls/datepicker-styles-and-templates).
+
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
-
-[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
-
+
+[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
+
]]>
diff --git a/xml/System.Windows.Controls.Primitives/RepeatButton.xml b/xml/System.Windows.Controls.Primitives/RepeatButton.xml
index 48fa03d2407..14decf48472 100644
--- a/xml/System.Windows.Controls.Primitives/RepeatButton.xml
+++ b/xml/System.Windows.Controls.Primitives/RepeatButton.xml
@@ -32,7 +32,7 @@
The class represents a control that is similar to a . However, repeat buttons give you control over when and how the event occurs. The raises the event repeatedly from the time it is pressed until it is released. The property determines when the event begins. You can also control the interval of the repetitions with the property.
## Customizing the RepeatButton Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [RepeatButton Styles and Templates](/dotnet/framework/wpf/controls/repeatbutton-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [RepeatButton Styles and Templates](/dotnet/framework/wpf/controls/repeatbutton-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls.Primitives/ScrollBar.xml b/xml/System.Windows.Controls.Primitives/ScrollBar.xml
index db2e706ebf2..4fe82558144 100644
--- a/xml/System.Windows.Controls.Primitives/ScrollBar.xml
+++ b/xml/System.Windows.Controls.Primitives/ScrollBar.xml
@@ -58,7 +58,7 @@
To display content inside a box that has scroll bars, use the control.
## Customizing the ScrollBar Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ScrollBar Styles and Templates](/dotnet/framework/wpf/controls/scrollbar-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ScrollBar Styles and Templates](/dotnet/framework/wpf/controls/scrollbar-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls.Primitives/StatusBar.xml b/xml/System.Windows.Controls.Primitives/StatusBar.xml
index 6636de5a8b3..c66983609f8 100644
--- a/xml/System.Windows.Controls.Primitives/StatusBar.xml
+++ b/xml/System.Windows.Controls.Primitives/StatusBar.xml
@@ -48,7 +48,7 @@

## Customizing the StatusBar Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [StatusBar Styles and Templates](/dotnet/framework/wpf/controls/statusbar-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [StatusBar Styles and Templates](/dotnet/framework/wpf/controls/statusbar-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls.Primitives/Thumb.xml b/xml/System.Windows.Controls.Primitives/Thumb.xml
index 35f6a6d2559..b1605d2067b 100644
--- a/xml/System.Windows.Controls.Primitives/Thumb.xml
+++ b/xml/System.Windows.Controls.Primitives/Thumb.xml
@@ -52,7 +52,7 @@

## Customizing the Thumb Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Thumb Styles and Templates](/dotnet/framework/wpf/controls/thumb-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Thumb Styles and Templates](/dotnet/framework/wpf/controls/thumb-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls.Primitives/ToggleButton.xml b/xml/System.Windows.Controls.Primitives/ToggleButton.xml
index 3e9990d329a..2283c5b823f 100644
--- a/xml/System.Windows.Controls.Primitives/ToggleButton.xml
+++ b/xml/System.Windows.Controls.Primitives/ToggleButton.xml
@@ -38,7 +38,7 @@
The property specifies the state of the . The property specifies whether the has two or three states.
## Customizing the ToggleButton Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ToggleButton Styles and Templates](/dotnet/framework/wpf/controls/togglebutton-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ToggleButton Styles and Templates](/dotnet/framework/wpf/controls/togglebutton-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/Button.xml b/xml/System.Windows.Controls/Button.xml
index 725df9dbd9b..38bebb9878a 100644
--- a/xml/System.Windows.Controls/Button.xml
+++ b/xml/System.Windows.Controls/Button.xml
@@ -36,20 +36,18 @@
The method marks the event as handled. To respond to the event, attach an event handler to the event, or call with `handledEventsToo` set to `true`.
## Customizing the Button Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Button Styles and Templates](/dotnet/framework/wpf/controls/button-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Button Styles and Templates](/dotnet/framework/wpf/controls/button-styles-and-templates).
- Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
+ Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
## Examples
The following example shows three buttons that respond to clicks in three different ways.
-- Hover: the first button changes colors when the user hovers with the mouse over the button.
-
-- Press: the second button requires that the mouse be pressed while the mouse pointer is over the button.
-
-- Release: the third does not reset the background color of the buttons until the mouse is pressed and released on the button.
+- Hover: the first button changes colors when the user hovers with the mouse over the button.
+- Press: the second button requires that the mouse be pressed while the mouse pointer is over the button.
+- Release: the third does not reset the background color of the buttons until the mouse is pressed and released on the button.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/Button/Overview/Pane1.xaml" id="Snippet1":::
@@ -250,7 +248,7 @@
property is `true` when the property is set to `true` and the control that has focus does not accept ENTER as input. For example, in the **Run** dialog box, the **OK** button is the default button. When focus is on the text box, on the **OK** button is `true` because a user can activate the button by pressing ENTER.
+ The property is `true` when the property is set to `true` and the control that has focus does not accept ENTER as input. For example, in the **Run** dialog box, the **OK** button is the default button. When focus is on the text box, on the **OK** button is `true` because a user can activate the button by pressing ENTER.
> [!NOTE]
> If the default button has focus, is `false`. This is because the method handles ENTER, and it is not necessary for to be set to `true`.
diff --git a/xml/System.Windows.Controls/Calendar.xml b/xml/System.Windows.Controls/Calendar.xml
index 9f8bb63d0db..6878ee2ebde 100644
--- a/xml/System.Windows.Controls/Calendar.xml
+++ b/xml/System.Windows.Controls/Calendar.xml
@@ -71,7 +71,7 @@
|SPACEBAR or ENTER| or |Switches to the or represented by focused item.|
## Customizing the Calendar Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Calendar Styles and Templates](/dotnet/framework/wpf/controls/calendar-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Calendar Styles and Templates](/dotnet/framework/wpf/controls/calendar-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/CheckBox.xml b/xml/System.Windows.Controls/CheckBox.xml
index 38596846338..f08b9c78c17 100644
--- a/xml/System.Windows.Controls/CheckBox.xml
+++ b/xml/System.Windows.Controls/CheckBox.xml
@@ -34,28 +34,28 @@
Represents a control that a user can select and clear.
- controls inherit from and can have three states: checked (selected), unchecked (cleared), and indeterminate.
-
- A is a , which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the class.
-
-## Customizing the CheckBox Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [CheckBox Styles and Templates](/dotnet/framework/wpf/controls/checkbox-styles-and-templates).
-
+ controls inherit from and can have three states: checked (selected), unchecked (cleared), and indeterminate.
+
+ A is a , which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the class.
+
+## Customizing the CheckBox Control
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [CheckBox Styles and Templates](/dotnet/framework/wpf/controls/checkbox-styles-and-templates).
+
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
-
-[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
-
-## Examples
- The following example creates a and handles the , , and events.
-
- :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/CheckBox/Overview/Window1.xaml" id="Snippet4":::
-
+
+[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
+
+## Examples
+ The following example creates a and handles the , , and events.
+
+ :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/CheckBox/Overview/Window1.xaml" id="Snippet4":::
+
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/CheckBox/Overview/Window1.xaml.cs" id="Snippet5":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/CheckBox_Snippets/VisualBasic/Window1.xaml.vb" id="Snippet5":::
-
+ :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/CheckBox_Snippets/VisualBasic/Window1.xaml.vb" id="Snippet5":::
+
]]>
WPF Controls Gallery Sample
@@ -180,13 +180,13 @@
The that contains the event data.
Responds to a event.
- event as handled by setting the property of the event data to `true` when the user presses the plus or the minus key.
-
- This method sets to `true` when the user presses the plus key and to `false` when the user presses the minus key.
-
+ event as handled by setting the property of the event data to `true` when the user presses the plus or the minus key.
+
+ This method sets to `true` when the user presses the plus key and to `false` when the user presses the minus key.
+
]]>
diff --git a/xml/System.Windows.Controls/ComboBox.xml b/xml/System.Windows.Controls/ComboBox.xml
index c99ec9f583e..e8f3bfa9dcf 100644
--- a/xml/System.Windows.Controls/ComboBox.xml
+++ b/xml/System.Windows.Controls/ComboBox.xml
@@ -66,7 +66,7 @@
The is an , so it can display content other than simple strings. For example, you can create a that contains a list of images. When you have content other than strings in the , a nonsensical string might appear in the when the drop-down list is hidden. To display a string in the when it contains non-string items, use the or attached property.
## Customizing the ComboBox Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ComboBox Styles and Templates](/dotnet/framework/wpf/controls/combobox-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ComboBox Styles and Templates](/dotnet/framework/wpf/controls/combobox-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ComboBoxItem.xml b/xml/System.Windows.Controls/ComboBoxItem.xml
index b3a414d9bb1..1e176aea7ed 100644
--- a/xml/System.Windows.Controls/ComboBoxItem.xml
+++ b/xml/System.Windows.Controls/ComboBoxItem.xml
@@ -40,7 +40,7 @@
A is a , which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the class.
## Customizing the ComboBoxItem Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ComboBox Styles and Templates](/dotnet/framework/wpf/controls/combobox-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ComboBox Styles and Templates](/dotnet/framework/wpf/controls/combobox-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ContextMenu.xml b/xml/System.Windows.Controls/ContextMenu.xml
index 81ac26afc9e..ba3e232f3f5 100644
--- a/xml/System.Windows.Controls/ContextMenu.xml
+++ b/xml/System.Windows.Controls/ContextMenu.xml
@@ -56,7 +56,7 @@
A is automatically placed inside a control. This behavior cannot be changed.
## Customizing the ContextMenu Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ContextMenu Styles and Templates](/dotnet/framework/wpf/controls/contextmenu-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ContextMenu Styles and Templates](/dotnet/framework/wpf/controls/contextmenu-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/DataGrid.xml b/xml/System.Windows.Controls/DataGrid.xml
index b251a797d2c..6ccc559b980 100644
--- a/xml/System.Windows.Controls/DataGrid.xml
+++ b/xml/System.Windows.Controls/DataGrid.xml
@@ -90,7 +90,7 @@
To customize behavior, you can handle events for selection change, cell editing, and column re-ordering. The also exposes several events for row recycling that you can handle to customize rows.
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [DataGrid Styles and Templates](/dotnet/framework/wpf/controls/datagrid-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [DataGrid Styles and Templates](/dotnet/framework/wpf/controls/datagrid-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/DatePicker.xml b/xml/System.Windows.Controls/DatePicker.xml
index 68864986f13..b525a1b3556 100644
--- a/xml/System.Windows.Controls/DatePicker.xml
+++ b/xml/System.Windows.Controls/DatePicker.xml
@@ -54,7 +54,7 @@
> The supports only the Gregorian calendar.
## Customizing the DatePicker Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [DatePicker Styles and Templates](/dotnet/framework/wpf/controls/datepicker-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [DatePicker Styles and Templates](/dotnet/framework/wpf/controls/datepicker-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/DocumentViewer.xml b/xml/System.Windows.Controls/DocumentViewer.xml
index e609ea0fbe5..1d1991fd023 100644
--- a/xml/System.Windows.Controls/DocumentViewer.xml
+++ b/xml/System.Windows.Controls/DocumentViewer.xml
@@ -39,7 +39,7 @@
## Remarks
## Customizing the DocumentViewer Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [DocumentViewer Styles and Templates](/dotnet/framework/wpf/controls/documentviewer-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [DocumentViewer Styles and Templates](/dotnet/framework/wpf/controls/documentviewer-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/Expander.xml b/xml/System.Windows.Controls/Expander.xml
index 3196c520b6c..2deb416e613 100644
--- a/xml/System.Windows.Controls/Expander.xml
+++ b/xml/System.Windows.Controls/Expander.xml
@@ -48,7 +48,7 @@
The alignment of content can be defined by setting the and properties on the control. These properties are applied to the header and to the contents of the expanded window.
## Customizing the Expander Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Expander Styles and Templates](/dotnet/framework/wpf/controls/expander-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Expander Styles and Templates](/dotnet/framework/wpf/controls/expander-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/Frame.xml b/xml/System.Windows.Controls/Frame.xml
index 4b437bdce46..024108666a5 100644
--- a/xml/System.Windows.Controls/Frame.xml
+++ b/xml/System.Windows.Controls/Frame.xml
@@ -112,7 +112,7 @@
Using , you can also remember multiple sets of state for a single page instance.
## Customizing the Frame Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Frame Styles and Templates](/dotnet/framework/wpf/controls/frame-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Frame Styles and Templates](/dotnet/framework/wpf/controls/frame-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/GroupBox.xml b/xml/System.Windows.Controls/GroupBox.xml
index c15531dc25b..520f077819c 100644
--- a/xml/System.Windows.Controls/GroupBox.xml
+++ b/xml/System.Windows.Controls/GroupBox.xml
@@ -30,29 +30,29 @@
Represents a control that creates a container that has a border and a header for user interface (UI) content.
- is a , which means its and properties can be of any type (such as string, image, or panel). For more information, see the class.
-
- The following illustration is an example of a that contains a and a that are enclosed in a .
-
- 
-
-## Customizing the GroupBox Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [GroupBox Styles and Templates](/dotnet/framework/wpf/controls/groupbox-styles-and-templates).
-
+ is a , which means its and properties can be of any type (such as string, image, or panel). For more information, see the class.
+
+ The following illustration is an example of a that contains a and a that are enclosed in a .
+
+ 
+
+## Customizing the GroupBox Control
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [GroupBox Styles and Templates](/dotnet/framework/wpf/controls/groupbox-styles-and-templates).
+
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
-
-[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
-
-## Examples
- The following example defines a control that is titled **Employee Data**. The control encloses a and a in a . The example sets the property to a .
-
- :::code language="xaml" source="~/snippets/csharp/System.Windows/FrameworkElement/IsLoaded/Page1.xaml" id="Snippet1":::
-
- You must also define an event handler on a code-behind page in order to handle the event that occurs when a user clicks the **Show Summary** button.
-
+
+[!INCLUDE[setting-a-visual-property](~/includes/visual-property-note.md)]
+
+## Examples
+ The following example defines a control that is titled **Employee Data**. The control encloses a and a in a . The example sets the property to a .
+
+ :::code language="xaml" source="~/snippets/csharp/System.Windows/FrameworkElement/IsLoaded/Page1.xaml" id="Snippet1":::
+
+ You must also define an event handler on a code-behind page in order to handle the event that occurs when a user clicks the **Show Summary** button.
+
]]>
diff --git a/xml/System.Windows.Controls/Label.xml b/xml/System.Windows.Controls/Label.xml
index 6e2ba8fca4f..44c605d7a4a 100644
--- a/xml/System.Windows.Controls/Label.xml
+++ b/xml/System.Windows.Controls/Label.xml
@@ -48,7 +48,7 @@
A is a , which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the class.
## Customizing the Label Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [Label Styles and Templates](/dotnet/framework/wpf/controls/label-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [Label Styles and Templates](/dotnet/framework/wpf/controls/label-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ListBox.xml b/xml/System.Windows.Controls/ListBox.xml
index f39004f6858..d3fb1cc3747 100644
--- a/xml/System.Windows.Controls/ListBox.xml
+++ b/xml/System.Windows.Controls/ListBox.xml
@@ -54,7 +54,7 @@
Displaying a large number of items may cause performance issues. See [Optimizing Performance: Controls](/dotnet/framework/wpf/advanced/optimizing-performance-controls) for more information.
## Customizing the ListBox Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ListBox Styles and Templates](/dotnet/framework/wpf/controls/listbox-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ListBox Styles and Templates](/dotnet/framework/wpf/controls/listbox-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ListBoxItem.xml b/xml/System.Windows.Controls/ListBoxItem.xml
index b7197a5ed54..790748ebb59 100644
--- a/xml/System.Windows.Controls/ListBoxItem.xml
+++ b/xml/System.Windows.Controls/ListBoxItem.xml
@@ -42,7 +42,7 @@
A is a , which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the class.
## Customizing the ListBoxItem Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ListBox Styles and Templates](/dotnet/framework/wpf/controls/listbox-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ListBox Styles and Templates](/dotnet/framework/wpf/controls/listbox-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ListView.xml b/xml/System.Windows.Controls/ListView.xml
index 79a253d67b2..192f8db3c62 100644
--- a/xml/System.Windows.Controls/ListView.xml
+++ b/xml/System.Windows.Controls/ListView.xml
@@ -54,7 +54,7 @@
Displaying a large number of items may cause performance issues. See [Optimizing Performance: Controls](/dotnet/framework/wpf/advanced/optimizing-performance-controls) for more information.
## Customizing the ListView Control
- To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](/dotnet/framework/wpf/controls/customizing-the-appearance-of-an-existing-control). To see the parts and states that are specific to the , see [ListView Styles and Templates](/dotnet/framework/wpf/controls/listview-styles-and-templates).
+ To apply the same property settings to multiple controls, use the property. You can modify the default to give the control a unique appearance. For more information about creating a , see [How to create a template for a control](/dotnet/desktop/wpf/controls/how-to-create-apply-template). To see the parts and states that are specific to the , see [ListView Styles and Templates](/dotnet/framework/wpf/controls/listview-styles-and-templates).
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
diff --git a/xml/System.Windows.Controls/ListViewItem.xml b/xml/System.Windows.Controls/ListViewItem.xml
index 8880611c7c1..e9ab1359983 100644
--- a/xml/System.Windows.Controls/ListViewItem.xml
+++ b/xml/System.Windows.Controls/ListViewItem.xml
@@ -23,22 +23,22 @@
Represents an item in a control.
- is a