Skip to content

Commit 180885a

Browse files
authored
add missing text (dotnet#8113)
1 parent 792ea6b commit 180885a

35 files changed

+80
-78
lines changed

xml/System.Windows.Automation.Provider/IRawElementProviderHwndOverride.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</Attribute>
3434
</Attributes>
3535
<Docs>
36-
<summary>Exposes a method that enables repositioning of window-based elements within the UI Automation tree of the fragment.</summary>
36+
<summary>Exposes a method that enables repositioning of window-based elements within the UI Automation tree of the fragment.</summary>
3737
<remarks>To be added.</remarks>
3838
<related type="Article" href="/dotnet/framework/ui-automation/ui-automation-providers-overview">UI Automation Providers Overview</related>
3939
<related type="Article" href="/dotnet/framework/ui-automation/server-side-ui-automation-provider-implementation">Server-side UI Automation Provider Implementation</related>

xml/System.Windows.Controls/DocumentViewer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2615,7 +2615,7 @@
26152615
</ReturnValue>
26162616
<Docs>
26172617
<summary>Gets the vertical size of the scrollable content area.</summary>
2618-
<value>The vertical size of the scrollable content area in device independent pixels. The default is 0.0.</value>
2618+
<value>The vertical size of the scrollable content area in device independent pixels. The default is 0.0.</value>
26192619
<remarks>
26202620
<format type="text/markdown"><![CDATA[
26212621

xml/System.Windows.Controls/GroupStyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@
417417
418418
:::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetgroupstyle":::
419419
420-
The following is the definition of the `groupingHeaderTemplate`<xref:System.Windows.DataTemplate>:
420+
The following is the definition of the `groupingHeaderTemplate` <xref:System.Windows.DataTemplate>:
421421
422422
:::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetheadertemplate":::
423423

xml/System.Windows.Controls/UserControl.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
3737
## Examples
38-
The following example shows how to create a simple `NumericUpDown`<xref:System.Windows.Controls.UserControl>.
38+
The following example shows how to create a simple `NumericUpDown` <xref:System.Windows.Controls.UserControl>.
3939
4040
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/UserControl/Overview/NumericUpDown.xaml" id="Snippetmarkup":::
4141

xml/System.Windows.Controls/ValidationRule.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
334334
:::code language="xaml" source="~/snippets/csharp/System.Windows/FrameworkElement/BindingGroup/Window1.xaml" id="Snippetwindowlayout":::
335335
336-
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.
336+
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.
337337
338338
:::code language="csharp" source="~/snippets/csharp/System.Windows/FrameworkElement/BindingGroup/Data.cs" id="Snippetvalidateobject":::
339339
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/BindingGroupSnippets/visualbasic/data.vb" id="Snippetvalidateobject":::

xml/System.Windows.Data/BindingOperations.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ The net effect is that you can change the collection on any thread, and those c
573573
## Examples
574574
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.
575575
576-
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.
576+
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.
577577
578578
:::code language="csharp" source="~/snippets/csharp/System.Windows.Data/BindingExpression/DataItem/Page1.xaml.cs" id="Snippetonrentraise":::
579579
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/DirectionalBinding/VisualBasic/DirectionalBinding.vb" id="Snippetonrentraise":::

xml/System.Windows.Documents/EditingCommands.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2803,7 +2803,7 @@ EditingCommands.ToggleInsert.Execute(null, rTB);
28032803
<format type="text/markdown"><![CDATA[
28042804
28052805
## Remarks
2806-
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.
2806+
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.
28072807
28082808
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.
28092809

xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2828
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.
2929
30-
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.
30+
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.
3131
3232
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.
3333
@@ -83,7 +83,7 @@
8383
## Remarks
8484
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.
8585
86-
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.
86+
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.
8787
8888
## Examples
8989
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.
@@ -139,7 +139,7 @@
139139
## Remarks
140140
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.
141141
142-
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.
142+
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.
143143
144144
]]></format>
145145
</remarks>

xml/System.Windows.Forms/AccessibleObject.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ This method must be overridden in derived classes that support the UI automation
13711371
|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>|
13721372
|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>|
13731373
|To simulate SHIFT + click|<xref:System.Windows.Forms.AccessibleSelection.TakeFocus?displayProperty=nameWithType> `OR` <xref:System.Windows.Forms.AccessibleSelection.ExtendSelection?displayProperty=nameWithType>|
1374-
|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.|
1374+
|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.|
13751375
|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.|
13761376
13771377

xml/System.Windows.Forms/ComboBox.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3547,8 +3547,8 @@
35473547
</Parameters>
35483548
<Docs>
35493549
<param name="factor">The factor by which the height and width of the control will be scaled.</param>
3550-
<param name="specified">A value that specifies the bounds of the control to use when defining its size and position.</param>
3551-
<summary>Scales a control's location, size, padding and margin.</summary>
3550+
<param name="specified">A value that specifies the bounds of the control to use when defining its size and position.</param>
3551+
<summary>Scales a control's location, size, padding, and margin.</summary>
35523552
<remarks>To be added.</remarks>
35533553
</Docs>
35543554
</Member>

0 commit comments

Comments
 (0)