Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bf51de

Browse files
nschonniBillWagner
authored andcommitted
typos: System.Windows* (dotnet#2242)
* typo: worspace -> workspace * typo: minimun -> minimum * typo: Syles -> Styles Files are already renamed in the dotnet/docs repo * typo: anel -> DockPanel * typo: valiues -> values * typo: placedl -> placed * typo: Enployee -> Employee * typo: posision -> position * typo: illlustration -> illustration * typo: Rectange -> Rectangle * typo: thatboth -> that both * typo: Hilighter -> Highlighter * typo: propertyy -> property * typo: continaed -> contained * typo: nulll -> null * typo: alighnment -> alignment * typo: Methematical -> Mathematical * typo: streched -> stretched * typo: alsodemonstrates -> also demonstrates * typo: obejcts -> objects * typo: wiith -> with * typo: delimitated -> delimited * typo: itemswere -> items were * typo: Inititates -> Initiates * typo: objet -> object * typo: unamanged -> unmanaged * typo: umanaged -> unmanaged * typo: resoures -> resources * typo: accessibiity -> accessibility * typo: willcause -> will cause * typo: andthe -> and the * typo: Camvas -> Canvas * typo: aplitude -> amplitude * typo: comand -> command Separate PR to the samples repo * typo: contructor -> constructor Add code fence language as well * typo: constructoed -> constructed * typo: Desintation -> Destination * typo: uusing -> using * typo: prope-rty -> property * typo: delimeter -> delimiter
1 parent 5a8d4e9 commit 0bf51de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+57
-57
lines changed

xml/System.Speech.Recognition/Choices.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ private Grammar CreateColorGrammar()
9393
9494
The example uses a <xref:System.Speech.Recognition.GrammarBuilder> object to assemble a phrase, using the <xref:System.Speech.Recognition.Choices> objects and two additional strings, that can be used to recognize speech input in the form of "Call [contactlList] on [phoneType] phone" , for example "Call Jane on cell phone".
9595
96-
```
97-
public GrammarBuilder ChoicesContructor2 ()
96+
```csharp
97+
public GrammarBuilder ChoicesConstructor2 ()
9898
{
9999
GrammarBuilder gb = new GrammarBuilder ();
100100
Choices phoneType = new Choices (new string[] {"cell", "home", "work"});

xml/System.Windows.Controls.Primitives/CustomPopupPlacement.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
<ReturnType>System.Windows.Point</ReturnType>
201201
</ReturnValue>
202202
<Docs>
203-
<summary>Gets or sets the point that is relative to the target object where the upper-left corner of the <see cref="T:System.Windows.Controls.Primitives.Popup" /> control is placedl.</summary>
203+
<summary>Gets or sets the point that is relative to the target object where the upper-left corner of the <see cref="T:System.Windows.Controls.Primitives.Popup" /> control is placed.</summary>
204204
<value>A <see cref="T:System.Windows.Point" /> that is used to position a <see cref="T:System.Windows.Controls.Primitives.Popup" /> control. The default value is (0,0).</value>
205205
<remarks>
206206
<format type="text/markdown"><![CDATA[

xml/System.Windows.Controls.Primitives/DatePickerTextBox.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
The <xref:System.Windows.Controls.Primitives.DatePickerTextBox> control enables users to type a date directly into a <xref:System.Windows.Controls.DatePicker>.
2828
2929
## Customizing the DatePickerTextBox Control
30-
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.DatePickerTextBox> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.DatePickerTextBox>, see [DatePicker Syles and Templates](~/docs/framework/wpf/controls/datepicker-styles-and-templates.md).
30+
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.DatePickerTextBox> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.DatePickerTextBox>, see [DatePicker Styles and Templates](~/docs/framework/wpf/controls/datepicker-styles-and-templates.md).
3131
3232
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. For more information, see [Default WPF Themes](https://go.microsoft.com/fwlink/?LinkID=158252).
3333

xml/System.Windows.Controls.Primitives/RepeatButton.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
The <xref:System.Windows.Controls.Primitives.RepeatButton> class represents a control that is similar to a <xref:System.Windows.Controls.Button>. However, repeat buttons give you control over when and how the <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event occurs. The <xref:System.Windows.Controls.Primitives.RepeatButton> raises the <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event repeatedly from the time it is pressed until it is released. The <xref:System.Windows.Controls.Primitives.RepeatButton.Delay%2A> property determines when the event begins. You can also control the interval of the repetitions with the <xref:System.Windows.Controls.Primitives.RepeatButton.Interval%2A> property.
2626
2727
## Customizing the RepeatButton Control
28-
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.RepeatButton> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.RepeatButton>, see [RepeatButton Syles and Templates](~/docs/framework/wpf/controls/repeatbutton-syles-and-templates.md).
28+
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.RepeatButton> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.RepeatButton>, see [RepeatButton Styles and Templates](~/docs/framework/wpf/controls/repeatbutton-styles-and-templates.md).
2929
3030
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. For more information, see [Default WPF Themes](https://go.microsoft.com/fwlink/?LinkID=158252).
3131

xml/System.Windows.Controls.Primitives/Thumb.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
![Scrollbar illustration](~/add/media/scrollbar-illustration.JPG "Scrollbar illustration")
4444
4545
## Customizing the Thumb Control
46-
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.Thumb> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.Thumb>, see [Thumb Syles and Templates](~/docs/framework/wpf/controls/thumb-syles-and-templates.md).
46+
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.Thumb> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.Thumb>, see [Thumb Styles and Templates](~/docs/framework/wpf/controls/thumb-styles-and-templates.md).
4747
4848
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. For more information, see [Default WPF Themes](https://go.microsoft.com/fwlink/?LinkID=158252).
4949

xml/System.Windows.Controls.Primitives/ToggleButton.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
The <xref:System.Windows.Controls.Primitives.ToggleButton.IsChecked%2A> property specifies the state of the <xref:System.Windows.Controls.Primitives.ToggleButton>. The <xref:System.Windows.Controls.Primitives.ToggleButton.IsThreeState%2A> property specifies whether the <xref:System.Windows.Controls.Primitives.ToggleButton> has two or three states.
3131
3232
## Customizing the ToggleButton Control
33-
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.ToggleButton> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.ToggleButton>, see [ToggleButton Syles and Templates](~/docs/framework/wpf/controls/togglebutton-syles-and-templates.md).
33+
To apply the same property settings to multiple <xref:System.Windows.Controls.Primitives.ToggleButton> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.Primitives.ToggleButton>, see [ToggleButton Styles and Templates](~/docs/framework/wpf/controls/togglebutton-styles-and-templates.md).
3434
3535
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. For more information, see [Default WPF Themes](https://go.microsoft.com/fwlink/?LinkID=158252).
3636

xml/System.Windows.Controls.Primitives/Track.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
6262
**A ScrollBar that has a Track control**
6363
64-
![ScrollBar illlustration](~/add/media/scrollbargeneric.png "ScrollBar illlustration")
64+
![ScrollBar illustration](~/add/media/scrollbargeneric.png "ScrollBar illustration")
6565
6666
The following calculation is used to compute the size of the <xref:System.Windows.Controls.Primitives.Track.Thumb%2A>.
6767

xml/System.Windows.Controls/BorderGapMaskConverter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
100100
The following illustration provides a graphical representation of the `values` parameter.
101101
102-
![A GroupBox and the valiues for the Convert method](~/add/media/bordergapmaskconverterillustration.png "A GroupBox and the valiues for the Convert method")
102+
![A GroupBox and the values for the Convert method](~/add/media/bordergapmaskconverterillustration.png "A GroupBox and the valiues for the Convert method")
103103
104104
]]></format>
105105
</remarks>

xml/System.Windows.Controls/DatePicker.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
> The <xref:System.Windows.Controls.DatePicker> supports only the Gregorian calendar.
4444
4545
## Customizing the DatePicker Control
46-
To apply the same property settings to multiple <xref:System.Windows.Controls.DatePicker> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.DatePicker>, see [DatePicker Syles and Templates](~/docs/framework/wpf/controls/datepicker-styles-and-templates.md).
46+
To apply the same property settings to multiple <xref:System.Windows.Controls.DatePicker> controls, use the <xref:System.Windows.FrameworkElement.Style%2A> property. You can modify the default <xref:System.Windows.Controls.ControlTemplate> to give the control a unique appearance. For more information about creating a <xref:System.Windows.Controls.ControlTemplate>, see [Customizing the Appearance of an Existing Control by Creating a ControlTemplate](~/docs/framework/wpf/controls/customizing-the-appearance-of-an-existing-control.md). To see the parts and states that are specific to the <xref:System.Windows.Controls.DatePicker>, see [DatePicker Styles and Templates](~/docs/framework/wpf/controls/datepicker-styles-and-templates.md).
4747
4848
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. For more information, see [Default WPF Themes](https://go.microsoft.com/fwlink/?LinkID=158252).
4949

xml/System.Windows.Controls/Dock.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<format type="text/markdown"><![CDATA[
2020
2121
## Remarks
22-
If you set the anel.LastChildFill property to `true`, which is the default setting, the last child element of a anel always fills the remaining space, regardless of any other dock value that you set on the last child element. To dock a child in another direction, you must set the anel.LastChildFill property to `false` and must also set an explicit dock direction on the last child element.
22+
If you set the DockPanel.LastChildFill property to `true`, which is the default setting, the last child element of a DockPanel always fills the remaining space, regardless of any other dock value that you set on the last child element. To dock a child in another direction, you must set the DockPanel.LastChildFill property to `false` and must also set an explicit dock direction on the last child element.
2323
2424
]]></format>
2525
</remarks>

xml/System.Windows.Controls/InkCanvas.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
515515
516516
## Examples
517-
The following example selects two elements on an <xref:System.Windows.Controls.InkCanvas> and copies them to the Clipboard. This example assumes that there is a <xref:System.Windows.Controls.TextBox> called `textbox1` and a <xref:System.Windows.Controls.Button> called `button1 -` and thatboth controls are child elements of the <xref:System.Windows.Controls.InkCanvas>.
517+
The following example selects two elements on an <xref:System.Windows.Controls.InkCanvas> and copies them to the Clipboard. This example assumes that there is a <xref:System.Windows.Controls.TextBox> called `textbox1` and a <xref:System.Windows.Controls.Button> called `button1 -` and that both controls are child elements of the <xref:System.Windows.Controls.InkCanvas>.
518518
519519
[!code-csharp[InkCanvasSamples#3](~/samples/snippets/csharp/VS_Snippets_Wpf/InkCanvasSamples/CSharp/Window1.xaml.cs#3)]
520520
[!code-vb[InkCanvasSamples#3](~/samples/snippets/visualbasic/VS_Snippets_Wpf/InkCanvasSamples/VisualBasic/Window1.xaml.vb#3)]
@@ -598,7 +598,7 @@
598598
599599
600600
## Examples
601-
The following example demonstrates how to use two <xref:System.Windows.Ink.DrawingAttributes> objects to simulate the experience of using a pen and a highlighter on the same <xref:System.Windows.Controls.InkCanvas>. The example assumes that the root element in the markup language (XAML) file is a <xref:System.Windows.Controls.DockPanel> called `root`. It also assumes that there is a <xref:System.Windows.Controls.Button> called `switchHilighter` and that the <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event is connected to the event handler.
601+
The following example demonstrates how to use two <xref:System.Windows.Ink.DrawingAttributes> objects to simulate the experience of using a pen and a highlighter on the same <xref:System.Windows.Controls.InkCanvas>. The example assumes that the root element in the markup language (XAML) file is a <xref:System.Windows.Controls.DockPanel> called `root`. It also assumes that there is a <xref:System.Windows.Controls.Button> called `switchHighlighter` and that the <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event is connected to the event handler.
602602
603603
[!code-csharp[DrawingAttributes#3](~/samples/snippets/csharp/VS_Snippets_Wpf/DrawingAttributes/CSharp/Window1.xaml.cs#3)]
604604
[!code-vb[DrawingAttributes#3](~/samples/snippets/visualbasic/VS_Snippets_Wpf/DrawingAttributes/VisualBasic/Window1.xaml.vb#3)]
@@ -2595,7 +2595,7 @@
25952595
<ReturnType>System.Windows.DependencyProperty</ReturnType>
25962596
</ReturnValue>
25972597
<Docs>
2598-
<summary>Identifies the <see cref="P:System.Windows.Controls.InkCanvas.Right" /> attached propertyy.</summary>
2598+
<summary>Identifies the <see cref="P:System.Windows.Controls.InkCanvas.Right" /> attached property.</summary>
25992599
<remarks>To be added.</remarks>
26002600
</Docs>
26012601
</Member>

0 commit comments

Comments
 (0)