Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</Attribute>
</Attributes>
<Docs>
<summary>Exposes a method that enables repositioning of window-based elements within the UI Automation tree of the fragment.</summary>
<summary>Exposes a method that enables repositioning of window-based elements within the UI Automation tree of the fragment.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="/dotnet/framework/ui-automation/ui-automation-providers-overview">UI Automation Providers Overview</related>
<related type="Article" href="/dotnet/framework/ui-automation/server-side-ui-automation-provider-implementation">Server-side UI Automation Provider Implementation</related>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/DocumentViewer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@
</ReturnValue>
<Docs>
<summary>Gets the vertical size of the scrollable content area.</summary>
<value>The vertical size of the scrollable content area in device independent pixels. The default is 0.0.</value>
<value>The vertical size of the scrollable content area in device independent pixels. The default is 0.0.</value>
<remarks>
<format type="text/markdown"><![CDATA[

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/GroupStyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@

:::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetgroupstyle":::

The following is the definition of the `groupingHeaderTemplate`<xref:System.Windows.DataTemplate>:
The following is the definition of the `groupingHeaderTemplate` <xref:System.Windows.DataTemplate>:

:::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetheadertemplate":::

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/UserControl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@


## Examples
The following example shows how to create a simple `NumericUpDown`<xref:System.Windows.Controls.UserControl>.
The following example shows how to create a simple `NumericUpDown` <xref:System.Windows.Controls.UserControl>.

:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/UserControl/Overview/NumericUpDown.xaml" id="Snippetmarkup":::

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Controls/ValidationRule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@

:::code language="xaml" source="~/snippets/csharp/System.Windows/FrameworkElement/BindingGroup/Window1.xaml" id="Snippetwindowlayout":::

The following example shows the <xref:System.Windows.Controls.ValidationRule>`ValidateDateAndPrice`. In the `Validate` method override, the `Price` property is of type <xref:System.Double> and the `OfferExpires` property is of type <xref:System.DateTime> because the strings have been converted to their respective types by the time the <xref:System.Windows.Controls.ValidationRule> runs.
The following example shows the <xref:System.Windows.Controls.ValidationRule> `ValidateDateAndPrice`. In the `Validate` method override, the `Price` property is of type <xref:System.Double> and the `OfferExpires` property is of type <xref:System.DateTime> because the strings have been converted to their respective types by the time the <xref:System.Windows.Controls.ValidationRule> runs.

:::code language="csharp" source="~/snippets/csharp/System.Windows/FrameworkElement/BindingGroup/Data.cs" id="Snippetvalidateobject":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/BindingGroupSnippets/visualbasic/data.vb" id="Snippetvalidateobject":::
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Data/BindingOperations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ The net effect is that you can change the collection on any thread, and those c
## Examples
The following example shows the implementation of a <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event handler that uses the <xref:System.Windows.Data.BindingOperations.GetBindingExpression%2A> method to obtain the <xref:System.Windows.Data.BindingExpression> and then calls the <xref:System.Windows.Data.BindingExpression.DataItem%2A> property to access the binding source object.

The <xref:System.Windows.Controls.TextBlock>`SavingsText` is the binding target object and <xref:System.Windows.Controls.TextBlock.Text%2A> is the binding target property.
The <xref:System.Windows.Controls.TextBlock> `SavingsText` is the binding target object and <xref:System.Windows.Controls.TextBlock.Text%2A> is the binding target property.

:::code language="csharp" source="~/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/Page1.xaml.cs" id="Snippetonrentraise":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/DirectionalBinding/VisualBasic/DirectionalBinding.vb" id="Snippetonrentraise":::
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Documents/EditingCommands.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,7 @@ EditingCommands.ToggleInsert.Execute(null, rTB);
<format type="text/markdown"><![CDATA[

## Remarks
The behavior for this command depends on the current selection. If the selection is non-empty, or if the selection is empty and the current caret position is at the beginning of a paragraph, this command is equivalent to <xref:System.Windows.Documents.EditingCommands.IncreaseIndentation%2A>. If the caret is in a table cell (represented by the <xref:System.Windows.Documents.TableCell> element), this command moves the caret to the next cell. If the caret is in the last cell of a table, this command causes a new row to be appended to the table, with the caret positioned in the first cell of the new row. Otherwise, a tab character is inserted in current position.
The behavior for this command depends on the current selection. If the selection is non-empty, or if the selection is empty and the current caret position is at the beginning of a paragraph, this command is equivalent to <xref:System.Windows.Documents.EditingCommands.IncreaseIndentation%2A>. If the caret is in a table cell (represented by the <xref:System.Windows.Documents.TableCell> element), this command moves the caret to the next cell. If the caret is in the last cell of a table, this command causes a new row to be appended to the table, with the caret positioned in the first cell of the new row. Otherwise, a tab character is inserted in current position.

There is not necessarily an actual implementation that responds to this command on any given object; in many cases the implementation that responds to a command is the responsibility of the application writer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

To draw an element, use the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawBackground%2A> method. The <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> class also includes methods, such as <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetColor%2A> and <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetEnumValue%2A>, that provide information about how an element is defined by the current visual style.

The <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.%23ctor%2A> constructor and many of the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> methods throw exceptions unless visual styles are enabled in the operating system and visual styles are applied to the client area of application windows. To check for these conditions, use the `static`<xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsSupported%2A> property.
The <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.%23ctor%2A> constructor and many of the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> methods throw exceptions unless visual styles are enabled in the operating system and visual styles are applied to the client area of application windows. To check for these conditions, use the `static` <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsSupported%2A> property.

The <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> class wraps the functionality of the visual styles (UxTheme) API from the Windows Shell portion of the Windows Platform SDK.

Expand Down Expand Up @@ -83,7 +83,7 @@
## Remarks
This constructor uses the <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.ClassName%2A?displayProperty=nameWithType>, <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.Part%2A?displayProperty=nameWithType>, and <xref:System.Windows.Forms.VisualStyles.VisualStyleElement.State%2A?displayProperty=nameWithType> properties of the `element` parameter to initialize the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.Class%2A>, <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.Part%2A>, and <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.State%2A> properties.

Before using this constructor, you should call the `static`<xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsElementDefined%2A> method to verify whether the current visual style provides a definition for the element specified by the `element` parameter.
Before using this constructor, you should call the `static` <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsElementDefined%2A> method to verify whether the current visual style provides a definition for the element specified by the `element` parameter.

## Examples
The following code example demonstrates how to use the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.%23ctor%28System.Windows.Forms.VisualStyles.VisualStyleElement%29> constructor to create a <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer>. This code example is part of a larger code example provided for the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer> class overview.
Expand Down Expand Up @@ -139,7 +139,7 @@
## Remarks
This constructor uses the `className`, `part`, and `state` parameters to initialize the <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.Class%2A>, <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.Part%2A>, and <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.State%2A> properties.

Before using this constructor, you should call the `static`<xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsElementDefined%2A> method to verify whether the current visual style provides a definition for the element specified by the `className`, `part`, and `state` parameters.
Before using this constructor, you should call the `static` <xref:System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsElementDefined%2A> method to verify whether the current visual style provides a definition for the element specified by the `className`, `part`, and `state` parameters.

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Forms/AccessibleObject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ This method must be overridden in derived classes that support the UI automation
|To select a target item by simulating CTRL + click|<xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> `OR` <xref:System.Windows.Forms.AccessibleSelection.AddSelection?displayProperty=nameWithType>|
|To cancel selection of a target item by simulating CTRL + click|<xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> `OR` <xref:System.Windows.Forms.AccessibleSelection.RemoveSelection?displayProperty=nameWithType>|
|To simulate SHIFT + click|<xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> `OR` <xref:System.Windows.Forms.AccessibleSelection.ExtendSelection?displayProperty=nameWithType>|
|To select a range of objects and put focus on the last object|Specify <xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> on the starting object to set the selection anchor. Then call <xref:System.Windows.Forms.AccessibleObject.Select%2A> again and specify <xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType>`OR`<xref:System.Windows.Forms.AccessibleSelection.ExtendSelection?displayProperty=nameWithType> on the last object.|
|To select a range of objects and put focus on the last object|Specify <xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> on the starting object to set the selection anchor. Then call <xref:System.Windows.Forms.AccessibleObject.Select%2A> again and specify <xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> `OR` <xref:System.Windows.Forms.AccessibleSelection.ExtendSelection?displayProperty=nameWithType> on the last object.|
|To deselect all objects|Specify <xref:System.Windows.Forms.AccessibleSelection.TakeSelection?displayProperty=nameWithType> on any object. This flag deselects all selected objects except the one just selected. Then call <xref:System.Windows.Forms.AccessibleObject.Select%2A> again and specify <xref:System.Windows.Forms.AccessibleSelection.RemoveSelection?displayProperty=nameWithType> on the same object.|


Expand Down
4 changes: 2 additions & 2 deletions xml/System.Windows.Forms/ComboBox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3547,8 +3547,8 @@
</Parameters>
<Docs>
<param name="factor">The factor by which the height and width of the control will be scaled.</param>
<param name="specified">A value that specifies the bounds of the control to use when defining its size and position.</param>
<summary>Scales a control's location, size, padding and margin.</summary>
<param name="specified">A value that specifies the bounds of the control to use when defining its size and position.</param>
<summary>Scales a control's location, size, padding, and margin.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down
Loading