Skip to content

Commit d09267e

Browse files
authored
[Sytem.Windows*] Add table headers for accessibility (#10777)
1 parent 7c9c5f9 commit d09267e

File tree

352 files changed

+51242
-51255
lines changed

Some content is hidden

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

352 files changed

+51242
-51255
lines changed

xml/Microsoft.Windows.Themes/BulletChrome.xml

+115-115
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,25 @@
5252
<Docs>
5353
<summary>Creates the theme-specific look for Windows Presentation Foundation (WPF) <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> elements. A <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> defines the appearance of <see cref="T:System.Windows.Controls.CheckBox" /> and <see cref="T:System.Windows.Controls.RadioButton" /> elements.</summary>
5454
<remarks>
55-
<format type="text/markdown"><![CDATA[
56-
57-
## Remarks
58-
The actual appearance of the <xref:System.Windows.Controls.Primitives.BulletDecorator.Bullet%2A> is dependent on which theme is active on the user's system. The properties of this class allow WPF to set the appearance based on the current theme.
59-
60-
In XAML usage, a <xref:Microsoft.Windows.Themes.BulletChrome> object element can also have child content, which can be a single <xref:System.Windows.UIElement> that sets the <xref:System.Windows.Controls.Decorator.Child%2A> property.
61-
62-
<a name="xamlObjectElementUsage_BulletChrome"></a>
63-
## XAML Object Element Usage
64-
65-
```
66-
<theme:BulletChrome .../>
67-
```
68-
69-
<a name="xamlValues_BulletChrome"></a>
70-
## XAML Values
71-
`theme:`
72-
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
73-
55+
<format type="text/markdown"><![CDATA[
56+
57+
## Remarks
58+
The actual appearance of the <xref:System.Windows.Controls.Primitives.BulletDecorator.Bullet%2A> is dependent on which theme is active on the user's system. The properties of this class allow WPF to set the appearance based on the current theme.
59+
60+
In XAML usage, a <xref:Microsoft.Windows.Themes.BulletChrome> object element can also have child content, which can be a single <xref:System.Windows.UIElement> that sets the <xref:System.Windows.Controls.Decorator.Child%2A> property.
61+
62+
<a name="xamlObjectElementUsage_BulletChrome"></a>
63+
## XAML Object Element Usage
64+
65+
```
66+
<theme:BulletChrome .../>
67+
```
68+
69+
<a name="xamlValues_BulletChrome"></a>
70+
## XAML Values
71+
`theme:`
72+
An xmlns prefix for the <xref:Microsoft.Windows.Themes> CLR namespace. Typically, xmlns prefixes and mappings are defined in a XAML root element (not shown).
73+
7474
]]></format>
7575
</remarks>
7676
</Docs>
@@ -187,18 +187,18 @@
187187
<summary>Gets or sets the brush used to fill the background of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</summary>
188188
<value>The brush used to fill the background of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</value>
189189
<remarks>
190-
<format type="text/markdown"><![CDATA[
191-
192-
## Remarks
193-
194-
<a name="dependencyPropertyInfo_Background"></a>
195-
## Dependency Property Information
196-
197-
|||
198-
|-|-|
199-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BackgroundProperty>|
200-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
201-
190+
<format type="text/markdown"><![CDATA[
191+
192+
## Remarks
193+
194+
<a name="dependencyPropertyInfo_Background"></a>
195+
## Dependency Property Information
196+
197+
| Item | Value |
198+
|------------------|----------------------------------------------------------|
199+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BackgroundProperty>|
200+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
201+
202202
]]></format>
203203
</remarks>
204204
</Docs>
@@ -312,18 +312,18 @@
312312
<summary>Gets or sets the brush used to draw the outer border of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</summary>
313313
<value>The brush used to draw the outer border of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</value>
314314
<remarks>
315-
<format type="text/markdown"><![CDATA[
316-
317-
## Remarks
318-
319-
<a name="dependencyPropertyInfo_BorderBrush"></a>
320-
## Dependency Property Information
321-
322-
|||
323-
|-|-|
324-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BorderBrushProperty>|
325-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
326-
315+
<format type="text/markdown"><![CDATA[
316+
317+
## Remarks
318+
319+
<a name="dependencyPropertyInfo_BorderBrush"></a>
320+
## Dependency Property Information
321+
322+
| Item | Value |
323+
|------------------|----------------------------------------------------------|
324+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BorderBrushProperty>|
325+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
326+
327327
]]></format>
328328
</remarks>
329329
</Docs>
@@ -418,19 +418,19 @@
418418
<summary>Gets or sets the thickness used to draw the outer border of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</summary>
419419
<value>The thickness used to draw the border of the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" />.</value>
420420
<remarks>
421-
<format type="text/markdown"><![CDATA[
422-
423-
## Remarks
424-
This property is not available in the Windows Aero theme.
425-
426-
<a name="dependencyPropertyInfo_BorderThickness"></a>
427-
## Dependency Property Information
428-
429-
|||
430-
|-|-|
431-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BorderThicknessProperty>|
432-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
433-
421+
<format type="text/markdown"><![CDATA[
422+
423+
## Remarks
424+
This property is not available in the Windows Aero theme.
425+
426+
<a name="dependencyPropertyInfo_BorderThickness"></a>
427+
## Dependency Property Information
428+
429+
| Item | Value |
430+
|------------------|----------------------------------------------------------|
431+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.BorderThicknessProperty>|
432+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsMeasure%2A>, <xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
433+
434434
]]></format>
435435
</remarks>
436436
</Docs>
@@ -526,33 +526,33 @@
526526
<value>
527527
<see langword="true" /> if the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> is checked; <see langword="false" /> if the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> is not checked; otherwise, <see langword="null" />.</value>
528528
<remarks>
529-
<format type="text/markdown"><![CDATA[
530-
531-
## Remarks
532-
This property only applies when the <xref:System.Windows.Controls.Primitives.BulletDecorator.Bullet%2A> is a <xref:System.Windows.Controls.RadioButton> or <xref:System.Windows.Controls.CheckBox>.
533-
534-
If the object used for the bullet supports an `IsThreeState` property, and the value of that property is `true`, then a value of `null` is potentially user-settable. Otherwise, the value of <xref:Microsoft.Windows.Themes.BulletChrome.IsChecked%2A> cannot be set to `null` by user action, but it can be set that way in markup or code.
535-
536-
<a name="dependencyPropertyInfo_IsChecked"></a>
537-
## Dependency Property Information
538-
539-
|||
540-
|-|-|
541-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.IsCheckedProperty>|
542-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
543-
544-
<a name="xamlAttributeUsage_IsChecked"></a>
545-
## XAML Attribute Usage
546-
529+
<format type="text/markdown"><![CDATA[
530+
531+
## Remarks
532+
This property only applies when the <xref:System.Windows.Controls.Primitives.BulletDecorator.Bullet%2A> is a <xref:System.Windows.Controls.RadioButton> or <xref:System.Windows.Controls.CheckBox>.
533+
534+
If the object used for the bullet supports an `IsThreeState` property, and the value of that property is `true`, then a value of `null` is potentially user-settable. Otherwise, the value of <xref:Microsoft.Windows.Themes.BulletChrome.IsChecked%2A> cannot be set to `null` by user action, but it can be set that way in markup or code.
535+
536+
<a name="dependencyPropertyInfo_IsChecked"></a>
537+
## Dependency Property Information
538+
539+
| Item | Value |
540+
|------------------|----------------------------------------------------------|
541+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.IsCheckedProperty>|
542+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
543+
544+
<a name="xamlAttributeUsage_IsChecked"></a>
545+
## XAML Attribute Usage
546+
547547
```xaml
548-
<object IsChecked="bool"/>
548+
<object IsChecked="bool"/>
549549
```
550550
551-
-or-
551+
-or-
552552
553553
```xaml
554-
<object IsChecked="x:Null"/>
555-
```
554+
<object IsChecked="x:Null"/>
555+
```
556556
557557
]]></format>
558558
</remarks>
@@ -668,19 +668,19 @@
668668
<value>
669669
<see langword="true" /> if the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> has round corners; otherwise <see langword="false" />.</value>
670670
<remarks>
671-
<format type="text/markdown"><![CDATA[
672-
673-
## Remarks
674-
When set to `false`, the corners are square.
675-
676-
<a name="dependencyPropertyInfo_IsRound"></a>
677-
## Dependency Property Information
678-
679-
|||
680-
|-|-|
681-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.IsRoundProperty>|
682-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
683-
671+
<format type="text/markdown"><![CDATA[
672+
673+
## Remarks
674+
When set to `false`, the corners are square.
675+
676+
<a name="dependencyPropertyInfo_IsRound"></a>
677+
## Dependency Property Information
678+
679+
| Item | Value |
680+
|------------------|----------------------------------------------------------|
681+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.IsRoundProperty>|
682+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
683+
684684
]]></format>
685685
</remarks>
686686
</Docs>
@@ -914,18 +914,18 @@
914914
<value>
915915
<see langword="true" /> if the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> appears as if the mouse is over it; otherwise <see langword="false" />.</value>
916916
<remarks>
917-
<format type="text/markdown"><![CDATA[
918-
919-
## Remarks
920-
921-
<a name="dependencyPropertyInfo_RenderMouseOver"></a>
922-
## Dependency Property Information
923-
924-
|||
925-
|-|-|
926-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.RenderMouseOverProperty>|
927-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
928-
917+
<format type="text/markdown"><![CDATA[
918+
919+
## Remarks
920+
921+
<a name="dependencyPropertyInfo_RenderMouseOver"></a>
922+
## Dependency Property Information
923+
924+
| Item | Value |
925+
|------------------|----------------------------------------------------------|
926+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.RenderMouseOverProperty>|
927+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
928+
929929
]]></format>
930930
</remarks>
931931
</Docs>
@@ -1040,18 +1040,18 @@
10401040
<value>
10411041
<see langword="true" /> if the <see cref="P:System.Windows.Controls.Primitives.BulletDecorator.Bullet" /> appears pressed; otherwise <see langword="false" />.</value>
10421042
<remarks>
1043-
<format type="text/markdown"><![CDATA[
1044-
1045-
## Remarks
1046-
1047-
<a name="dependencyPropertyInfo_RenderPressed"></a>
1048-
## Dependency Property Information
1049-
1050-
|||
1051-
|-|-|
1052-
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.RenderPressedProperty>|
1053-
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
1054-
1043+
<format type="text/markdown"><![CDATA[
1044+
1045+
## Remarks
1046+
1047+
<a name="dependencyPropertyInfo_RenderPressed"></a>
1048+
## Dependency Property Information
1049+
1050+
| Item | Value |
1051+
|------------------|----------------------------------------------------------|
1052+
|Identifier field|<xref:Microsoft.Windows.Themes.BulletChrome.RenderPressedProperty>|
1053+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
1054+
10551055
]]></format>
10561056
</remarks>
10571057
</Docs>

xml/Microsoft.Windows.Themes/ButtonChrome.xml

+16-16
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@
234234
<a name="dependencyPropertyInfo_Background"></a>
235235
## Dependency Property Information
236236
237-
|||
238-
|-|-|
237+
| Item | Value |
238+
|------------------|----------------------------------------------------------|
239239
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BackgroundProperty>|
240240
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
241241
@@ -339,8 +339,8 @@
339339
<a name="dependencyPropertyInfo_BorderBrush"></a>
340340
## Dependency Property Information
341341
342-
|||
343-
|-|-|
342+
| Item | Value |
343+
|------------------|----------------------------------------------------------|
344344
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BorderBrushProperty>|
345345
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
346346
@@ -446,8 +446,8 @@
446446
<a name="dependencyPropertyInfo_Fill"></a>
447447
## Dependency Property Information
448448
449-
|||
450-
|-|-|
449+
| Item | Value |
450+
|------------------|----------------------------------------------------------|
451451
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.FillProperty>|
452452
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>|
453453
@@ -673,8 +673,8 @@
673673
<a name="dependencyPropertyInfo_RenderDefaulted"></a>
674674
## Dependency Property Information
675675
676-
|||
677-
|-|-|
676+
| Item | Value |
677+
|------------------|----------------------------------------------------------|
678678
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderDefaultedProperty>|
679679
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
680680
@@ -799,8 +799,8 @@
799799
<a name="dependencyPropertyInfo_RenderMouseOver"></a>
800800
## Dependency Property Information
801801
802-
|||
803-
|-|-|
802+
| Item | Value |
803+
|------------------|----------------------------------------------------------|
804804
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderMouseOverProperty>|
805805
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
806806
@@ -925,8 +925,8 @@
925925
<a name="dependencyPropertyInfo_RenderPressed"></a>
926926
## Dependency Property Information
927927
928-
|||
929-
|-|-|
928+
| Item | Value |
929+
|------------------|----------------------------------------------------------|
930930
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderPressedProperty>|
931931
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)|
932932
@@ -1032,8 +1032,8 @@
10321032
<a name="dependencyPropertyInfo_RoundCorners"></a>
10331033
## Dependency Property Information
10341034
1035-
|||
1036-
|-|-|
1035+
| Item | Value |
1036+
|------------------|----------------------------------------------------------|
10371037
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RoundCornersProperty>|
10381038
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
10391039
@@ -1109,8 +1109,8 @@
11091109
<a name="dependencyPropertyInfo_ThemeColor"></a>
11101110
## Dependency Property Information
11111111
1112-
|||
1113-
|-|-|
1112+
| Item | Value |
1113+
|------------------|----------------------------------------------------------|
11141114
|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.ThemeColorProperty>|
11151115
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
11161116

0 commit comments

Comments
 (0)