|
34 | 34 | </Base>
|
35 | 35 | <Interfaces />
|
36 | 36 | <Docs>
|
37 |
| - <summary>Creates the theme-specific look for .NET Framework <see cref="T:System.Windows.Controls.Button" /> elements.</summary> |
| 37 | + <summary>Creates the theme-specific look for <see cref="T:System.Windows.Controls.Button" /> elements.</summary> |
38 | 38 | <remarks>
|
39 |
| - <format type="text/markdown"><![CDATA[ |
40 |
| - |
41 |
| -## Remarks |
42 |
| - The actual appearance of the <xref:System.Windows.Controls.Button> is dependent on which theme is active on the user's system. The properties of this class allow the .NET Framework to set the appearance based on the current theme. |
43 |
| - |
44 |
| - In XAML usage, a <xref:Microsoft.Windows.Themes.ButtonChrome> 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. |
45 |
| - |
46 |
| -<a name="xamlObjectElementUsage_ButtonChrome"></a> |
47 |
| -## XAML Object Element Usage |
48 |
| - |
49 |
| -``` |
50 |
| -<theme:ButtonChrome .../> |
51 |
| -``` |
52 |
| - |
53 |
| -<a name="xamlValues_ButtonChrome"></a> |
54 |
| -## XAML Values |
55 |
| - `theme:` |
56 |
| - 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). |
57 |
| - |
| 39 | + <format type="text/markdown"><![CDATA[ |
| 40 | +
|
| 41 | +## Remarks |
| 42 | + The actual appearance of the <xref:System.Windows.Controls.Button> is dependent on which theme is active on the user's system. The properties of this class allow .NET to set the appearance based on the current theme. |
| 43 | +
|
| 44 | + In XAML usage, a <xref:Microsoft.Windows.Themes.ButtonChrome> 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. |
| 45 | +
|
| 46 | +<a name="xamlObjectElementUsage_ButtonChrome"></a> |
| 47 | +## XAML Object Element Usage |
| 48 | +
|
| 49 | +``` |
| 50 | +<theme:ButtonChrome .../> |
| 51 | +``` |
| 52 | +
|
| 53 | +<a name="xamlValues_ButtonChrome"></a> |
| 54 | +## XAML Values |
| 55 | + `theme:` |
| 56 | + 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). |
| 57 | +
|
58 | 58 | ]]></format>
|
59 | 59 | </remarks>
|
60 | 60 | </Docs>
|
|
171 | 171 | <summary>Gets or sets the brush used to fill the background of the <see cref="T:System.Windows.Controls.Button" />.</summary>
|
172 | 172 | <value>The brush used to fill the background of the <see cref="T:System.Windows.Controls.Button" />.</value>
|
173 | 173 | <remarks>
|
174 |
| - <format type="text/markdown"><![CDATA[ |
175 |
| - |
176 |
| -## Remarks |
177 |
| - |
178 |
| -<a name="dependencyPropertyInfo_Background"></a> |
179 |
| -## Dependency Property Information |
180 |
| - |
181 |
| -||| |
182 |
| -|-|-| |
183 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BackgroundProperty>| |
184 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
185 |
| - |
| 174 | + <format type="text/markdown"><![CDATA[ |
| 175 | +
|
| 176 | +## Remarks |
| 177 | +
|
| 178 | +<a name="dependencyPropertyInfo_Background"></a> |
| 179 | +## Dependency Property Information |
| 180 | +
|
| 181 | +||| |
| 182 | +|-|-| |
| 183 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BackgroundProperty>| |
| 184 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
| 185 | +
|
186 | 186 | ]]></format>
|
187 | 187 | </remarks>
|
188 | 188 | </Docs>
|
|
252 | 252 | <summary>Gets or sets the brush used to draw the outer border of the <see cref="T:System.Windows.Controls.Button" />.</summary>
|
253 | 253 | <value>The brush used to draw the outer border of the <see cref="T:System.Windows.Controls.Button" />.</value>
|
254 | 254 | <remarks>
|
255 |
| - <format type="text/markdown"><![CDATA[ |
256 |
| - |
257 |
| -## Remarks |
258 |
| - |
259 |
| -<a name="dependencyPropertyInfo_BorderBrush"></a> |
260 |
| -## Dependency Property Information |
261 |
| - |
262 |
| -||| |
263 |
| -|-|-| |
264 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BorderBrushProperty>| |
265 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
266 |
| - |
| 255 | + <format type="text/markdown"><![CDATA[ |
| 256 | +
|
| 257 | +## Remarks |
| 258 | +
|
| 259 | +<a name="dependencyPropertyInfo_BorderBrush"></a> |
| 260 | +## Dependency Property Information |
| 261 | +
|
| 262 | +||| |
| 263 | +|-|-| |
| 264 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.BorderBrushProperty>| |
| 265 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
| 266 | +
|
267 | 267 | ]]></format>
|
268 | 268 | </remarks>
|
269 | 269 | </Docs>
|
|
334 | 334 | <summary>Gets or sets the brush used to draw the color inside the <see cref="T:System.Windows.Controls.Button" />.</summary>
|
335 | 335 | <value>The brush.</value>
|
336 | 336 | <remarks>
|
337 |
| - <format type="text/markdown"><] theme. |
341 |
| - |
342 |
| -<a name="dependencyPropertyInfo_Fill"></a> |
343 |
| -## Dependency Property Information |
344 |
| - |
345 |
| -||| |
346 |
| -|-|-| |
347 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.FillProperty>| |
348 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
349 |
| - |
| 337 | + <format type="text/markdown"><] theme. |
| 341 | +
|
| 342 | +<a name="dependencyPropertyInfo_Fill"></a> |
| 343 | +## Dependency Property Information |
| 344 | +
|
| 345 | +||| |
| 346 | +|-|-| |
| 347 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.FillProperty>| |
| 348 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>, <xref:System.Windows.FrameworkPropertyMetadata.SubPropertiesDoNotAffectRender%2A>| |
| 349 | +
|
350 | 350 | ]]></format>
|
351 | 351 | </remarks>
|
352 | 352 | </Docs>
|
|
505 | 505 | <value>
|
506 | 506 | <see langword="true" /> if the <see cref="T:System.Windows.Controls.Button" /> has the appearance of the default button; otherwise <see langword="false" />.</value>
|
507 | 507 | <remarks>
|
508 |
| - <format type="text/markdown"><![CDATA[ |
509 |
| - |
510 |
| -## Remarks |
511 |
| - The default button generally has a darker outer border or other visual indicator that shows the user which button will be clicked if the Enter key is pressed. |
512 |
| - |
513 |
| -<a name="dependencyPropertyInfo_RenderDefaulted"></a> |
514 |
| -## Dependency Property Information |
515 |
| - |
516 |
| -||| |
517 |
| -|-|-| |
518 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderDefaultedProperty>| |
519 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
520 |
| - |
| 508 | + <format type="text/markdown"><![CDATA[ |
| 509 | +
|
| 510 | +## Remarks |
| 511 | + The default button generally has a darker outer border or other visual indicator that shows the user which button will be clicked if the Enter key is pressed. |
| 512 | +
|
| 513 | +<a name="dependencyPropertyInfo_RenderDefaulted"></a> |
| 514 | +## Dependency Property Information |
| 515 | +
|
| 516 | +||| |
| 517 | +|-|-| |
| 518 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderDefaultedProperty>| |
| 519 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
| 520 | +
|
521 | 521 | ]]></format>
|
522 | 522 | </remarks>
|
523 | 523 | </Docs>
|
|
600 | 600 | <value>
|
601 | 601 | <see langword="true" /> if the <see cref="T:System.Windows.Controls.Button" /> appears as if the mouse is over it; otherwise <see langword="false" />.</value>
|
602 | 602 | <remarks>
|
603 |
| - <format type="text/markdown"><![CDATA[ |
604 |
| - |
605 |
| -## Remarks |
606 |
| - |
607 |
| -<a name="dependencyPropertyInfo_RenderMouseOver"></a> |
608 |
| -## Dependency Property Information |
609 |
| - |
610 |
| -||| |
611 |
| -|-|-| |
612 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderMouseOverProperty>| |
613 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
614 |
| - |
| 603 | + <format type="text/markdown"><![CDATA[ |
| 604 | +
|
| 605 | +## Remarks |
| 606 | +
|
| 607 | +<a name="dependencyPropertyInfo_RenderMouseOver"></a> |
| 608 | +## Dependency Property Information |
| 609 | +
|
| 610 | +||| |
| 611 | +|-|-| |
| 612 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderMouseOverProperty>| |
| 613 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
| 614 | +
|
615 | 615 | ]]></format>
|
616 | 616 | </remarks>
|
617 | 617 | </Docs>
|
|
694 | 694 | <value>
|
695 | 695 | <see langword="true" /> if the <see cref="T:System.Windows.Controls.Button" /> appears pressed; otherwise <see langword="false" />.</value>
|
696 | 696 | <remarks>
|
697 |
| - <format type="text/markdown"><![CDATA[ |
698 |
| - |
699 |
| -## Remarks |
700 |
| - |
701 |
| -<a name="dependencyPropertyInfo_RenderPressed"></a> |
702 |
| -## Dependency Property Information |
703 |
| - |
704 |
| -||| |
705 |
| -|-|-| |
706 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderPressedProperty>| |
707 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
708 |
| - |
| 697 | + <format type="text/markdown"><![CDATA[ |
| 698 | +
|
| 699 | +## Remarks |
| 700 | +
|
| 701 | +<a name="dependencyPropertyInfo_RenderPressed"></a> |
| 702 | +## Dependency Property Information |
| 703 | +
|
| 704 | +||| |
| 705 | +|-|-| |
| 706 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RenderPressedProperty>| |
| 707 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A> (however, this property might not be set in all themes)| |
| 708 | +
|
709 | 709 | ]]></format>
|
710 | 710 | </remarks>
|
711 | 711 | </Docs>
|
|
776 | 776 | <value>
|
777 | 777 | <see langword="true" /> if the <see cref="T:System.Windows.Controls.Button" /> has round corners; otherwise <see langword="false" />.</value>
|
778 | 778 | <remarks>
|
779 |
| - <format type="text/markdown"><![CDATA[ |
780 |
| - |
781 |
| -## Remarks |
782 |
| - When set to `false`, the corners are square. |
783 |
| - |
784 |
| -<a name="dependencyPropertyInfo_RoundCorners"></a> |
785 |
| -## Dependency Property Information |
786 |
| - |
787 |
| -||| |
788 |
| -|-|-| |
789 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RoundCornersProperty>| |
790 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>| |
791 |
| - |
| 779 | + <format type="text/markdown"><![CDATA[ |
| 780 | +
|
| 781 | +## Remarks |
| 782 | + When set to `false`, the corners are square. |
| 783 | +
|
| 784 | +<a name="dependencyPropertyInfo_RoundCorners"></a> |
| 785 | +## Dependency Property Information |
| 786 | +
|
| 787 | +||| |
| 788 | +|-|-| |
| 789 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.RoundCornersProperty>| |
| 790 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>| |
| 791 | +
|
792 | 792 | ]]></format>
|
793 | 793 | </remarks>
|
794 | 794 | </Docs>
|
|
841 | 841 | <summary>Gets or sets the theme color.</summary>
|
842 | 842 | <value>A value in the enumeration.</value>
|
843 | 843 | <remarks>
|
844 |
| - <format type="text/markdown"><![CDATA[ |
845 |
| - |
846 |
| -## Remarks |
847 |
| - This property is only available in the Luna theme. |
848 |
| - |
849 |
| -<a name="dependencyPropertyInfo_ThemeColor"></a> |
850 |
| -## Dependency Property Information |
851 |
| - |
852 |
| -||| |
853 |
| -|-|-| |
854 |
| -|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.ThemeColorProperty>| |
855 |
| -|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>| |
856 |
| - |
| 844 | + <format type="text/markdown"><![CDATA[ |
| 845 | +
|
| 846 | +## Remarks |
| 847 | + This property is only available in the Luna theme. |
| 848 | +
|
| 849 | +<a name="dependencyPropertyInfo_ThemeColor"></a> |
| 850 | +## Dependency Property Information |
| 851 | +
|
| 852 | +||| |
| 853 | +|-|-| |
| 854 | +|Identifier field|<xref:Microsoft.Windows.Themes.ButtonChrome.ThemeColorProperty>| |
| 855 | +|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>| |
| 856 | +
|
857 | 857 | ]]></format>
|
858 | 858 | </remarks>
|
859 | 859 | </Docs>
|
|
0 commit comments