diff --git a/_zip/missingapi.yml b/_zip/missingapi.yml index 0472af27e42..fbd4a409388 100644 --- a/_zip/missingapi.yml +++ b/_zip/missingapi.yml @@ -35,6 +35,10 @@ references: name: AssistantClient fullname: OpenAI.Assistants.AssistantClient href: https://github.com/openai/openai-dotnet/blob/main/api/OpenAI.netstandard2.0.cs +- uid: OpenAI.Audio.AudioClient + name: AudioClient + fullname: OpenAI.Audio.AudioClient + href: https://github.com/openai/openai-dotnet/blob/main/api/OpenAI.netstandard2.0.cs - uid: OpenAI.Chat.ChatClient name: ChatClient fullname: OpenAI.Chat.ChatClient @@ -63,6 +67,10 @@ references: name: RealtimeConversationSession fullname: OpenAI.RealtimeConversation.RealtimeConversationSession href: https://github.com/openai/openai-dotnet/blob/main/api/OpenAI.netstandard2.0.cs +- uid: OpenAI.Responses.OpenAIResponseClient + name: OpenAIResponseClient + fullname: OpenAI.Responses.OpenAIResponseClient + href: https://github.com/openai/openai-dotnet/blob/main/api/OpenAI.netstandard2.0.cs - uid: Polly.CircuitBreaker.CircuitBreakerStrategyOptions`1 name: CircuitBreakerStrategyOptions`1 fullname: Polly.CircuitBreaker.CircuitBreakerStrategyOptions`1 diff --git a/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml b/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml index 3e89eeceacf..60486010b50 100644 --- a/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml +++ b/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml @@ -1039,7 +1039,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The key salt used to derive the key. The number of iterations for the operation. The hash algorithm to use to derive the key. - The size of key to derive. + The size of the key to derive, in bytes. Creates a PBKDF2 derived key from password bytes. A byte array containing the created PBKDF2 derived key. To be added. @@ -1100,7 +1100,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The key salt used to derive the key. The number of iterations for the operation. The hash algorithm to use to derive the key. - The size of key to derive. + The size of the key to derive, in bytes. Creates a PBKDF2 derived key from password bytes. A byte array containing the created PBKDF2 derived key. To be added. @@ -1207,7 +1207,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The key salt used to derive the key. The number of iterations for the operation. The hash algorithm to use to derive the key. - The size of key to derive. + The size of the key to derive, in bytes. Creates a PBKDF2 derived key from a password. A byte array of length that is filled with pseudo-random key bytes. @@ -1215,9 +1215,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf ## Remarks -The `password` will be converted to bytes using the UTF8 encoding. For - other encodings, convert the password string to bytes using the appropriate - and use . +The `password` is converted to bytes using the UTF8 encoding. For other encodings, convert the password string to bytes using the appropriate and use . ]]> @@ -1332,7 +1330,7 @@ The `password` will be converted to bytes using the UTF8 encoding. For The key salt used to derive the key. The number of iterations for the operation. The hash algorithm to use to derive the key. - The size of key to derive. + The size of the key to derive, in bytes. Creates a PBKDF2 derived key from a password. A byte array of length that is filled with pseudo-random key bytes. @@ -1340,9 +1338,7 @@ The `password` will be converted to bytes using the UTF8 encoding. For ## Remarks -The `password` will be converted to bytes using the UTF8 encoding. For - other encodings, convert the password string to bytes using the appropriate - and use . +The `password` is converted to bytes using the UTF8 encoding. For other encodings, convert the password string to bytes using the appropriate and use . ]]> diff --git a/xml/System.Windows.Controls.Primitives/BulletDecorator.xml b/xml/System.Windows.Controls.Primitives/BulletDecorator.xml index 7c65a810ac1..5ea77e6e949 100644 --- a/xml/System.Windows.Controls.Primitives/BulletDecorator.xml +++ b/xml/System.Windows.Controls.Primitives/BulletDecorator.xml @@ -238,7 +238,7 @@ ## XAML Property Element Usage -``` +```xaml @@ -246,8 +246,6 @@ ``` - - ## Examples The following examples show how to set the property. diff --git a/xml/System.Windows.Controls.Primitives/ButtonBase.xml b/xml/System.Windows.Controls.Primitives/ButtonBase.xml index abd8b966a15..9ae79e54e31 100644 --- a/xml/System.Windows.Controls.Primitives/ButtonBase.xml +++ b/xml/System.Windows.Controls.Primitives/ButtonBase.xml @@ -313,8 +313,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -382,8 +382,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -502,8 +502,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls.Primitives/GridViewRowPresenterBase.xml b/xml/System.Windows.Controls.Primitives/GridViewRowPresenterBase.xml index 18a1fdb7ca3..c0a960f1cf8 100644 --- a/xml/System.Windows.Controls.Primitives/GridViewRowPresenterBase.xml +++ b/xml/System.Windows.Controls.Primitives/GridViewRowPresenterBase.xml @@ -95,8 +95,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls.Primitives/Popup.xml b/xml/System.Windows.Controls.Primitives/Popup.xml index 8c2bd8f4e30..f1079dfa918 100644 --- a/xml/System.Windows.Controls.Primitives/Popup.xml +++ b/xml/System.Windows.Controls.Primitives/Popup.xml @@ -669,10 +669,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -1743,10 +1743,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls.Primitives/RangeBase.xml b/xml/System.Windows.Controls.Primitives/RangeBase.xml index 71888a6db4e..c423aaf6508 100644 --- a/xml/System.Windows.Controls.Primitives/RangeBase.xml +++ b/xml/System.Windows.Controls.Primitives/RangeBase.xml @@ -685,8 +685,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ]]> diff --git a/xml/System.Windows.Controls.Primitives/StatusBar.xml b/xml/System.Windows.Controls.Primitives/StatusBar.xml index b3bac5af40a..6636de5a8b3 100644 --- a/xml/System.Windows.Controls.Primitives/StatusBar.xml +++ b/xml/System.Windows.Controls.Primitives/StatusBar.xml @@ -332,8 +332,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ]]> diff --git a/xml/System.Windows.Controls.Ribbon/Ribbon.xml b/xml/System.Windows.Controls.Ribbon/Ribbon.xml index 01810934933..186652d8858 100644 --- a/xml/System.Windows.Controls.Ribbon/Ribbon.xml +++ b/xml/System.Windows.Controls.Ribbon/Ribbon.xml @@ -178,19 +178,18 @@ ```xaml xmlns:ribbon="clr-namespace:System.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" ... - -     -         -             -         -     -     + + + + + + + -     - - + + ``` ]]> @@ -519,14 +518,13 @@ xmlns:ribbon="clr-namespace:System.Windows.Controls.Ribbon;assembly=RibbonContro ```xaml -     + -     -     -         -     + + + + - ``` ]]> diff --git a/xml/System.Windows.Controls.Ribbon/RibbonContextualTabGroup.xml b/xml/System.Windows.Controls.Ribbon/RibbonContextualTabGroup.xml index edef1b689b5..26094943f07 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonContextualTabGroup.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonContextualTabGroup.xml @@ -34,21 +34,18 @@ ## Remarks You use a *contextual tab* to display groups of commands that are relevant only in a particular context. Contextual tab groups are shown or hidden based on specified criteria. For example, an Ink Tools tab group might be shown when tablet input is detected, or a Picture Tools tab group might be shown when an Image object is selected. - - ## Examples The following example shows a named **Pens** that is in the **Ink Tools** contextual tab group. ```xaml -     + -     -     -         -     + + + + - ``` ]]> diff --git a/xml/System.Windows.Controls.Ribbon/RibbonGroup.xml b/xml/System.Windows.Controls.Ribbon/RibbonGroup.xml index 1e56397bbc3..df49adbc3c1 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonGroup.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonGroup.xml @@ -264,17 +264,17 @@ ```xaml -   -     -     -     -   -   -     -     -     -   -   + + + + + + + + + + + ``` diff --git a/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinition.xml b/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinition.xml index 353b782df16..f27e3fae099 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinition.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinition.xml @@ -33,19 +33,19 @@ ## Examples The following example shows a collection that specifies three different group sizes. -``` +```xaml -   -     -     -     -   -   -     -     -     -   -   + + + + + + + + + + + ``` diff --git a/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinitionBaseCollection.xml b/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinitionBaseCollection.xml index cf3b38bfe63..a42f7b3d35c 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinitionBaseCollection.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonGroupSizeDefinitionBaseCollection.xml @@ -25,57 +25,56 @@ Provides a friendly name for XAML usage of a collection. - type to define a collection of objects as a resource. - - - -## Examples - The following example shows how to define a as a resource with the x:Key `3ControlSizeDef` and reference it from the property of a . - -``` -xmlns:ribbon="clr-namespace:System.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" - - -   -     -       -         -         -         -       -       -         -         -         -       -       -     -   - -   -     -       -       -       -     -   - - -``` - + type to define a collection of objects as a resource. + + + +## Examples + The following example shows how to define a as a resource with the x:Key `3ControlSizeDef` and reference it from the property of a . + +```xaml +xmlns:ribbon="clr-namespace:System.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + ]]> Ribbon Layout and Resizing diff --git a/xml/System.Windows.Controls.Ribbon/RibbonQuickAccessToolBar.xml b/xml/System.Windows.Controls.Ribbon/RibbonQuickAccessToolBar.xml index d6c74173567..fd41593ab84 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonQuickAccessToolBar.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonQuickAccessToolBar.xml @@ -46,31 +46,28 @@ ## Remarks You add a to a control by specifying it as the content of the property using XAML [Property Element Syntax](/dotnet/framework/wpf/advanced/xaml-syntax-in-detail). -``` +```xaml ... - ``` The following list shows the typical placement of the in the hierarchy of ribbon elements. -- - - - property - - - +- - - , , , , + - property - - , , + - - - + - , , , , + - , , + - ## Examples The following example shows a simple ribbon that is created by the Visual Studio 2010 template, with help pane and Quick Access Toolbar elements added. diff --git a/xml/System.Windows.Controls.Ribbon/RibbonTab.xml b/xml/System.Windows.Controls.Ribbon/RibbonTab.xml index 985e4024dc5..d05c42baed2 100644 --- a/xml/System.Windows.Controls.Ribbon/RibbonTab.xml +++ b/xml/System.Windows.Controls.Ribbon/RibbonTab.xml @@ -166,14 +166,13 @@ ```xaml -     + -     -     -         -     + + + + - ``` ]]> @@ -344,31 +343,28 @@ |Identifier field|| |Metadata properties set to `true`|None| - - ## Examples The following example shows how to specify the . ```xaml - -     -        ...   -     -     -        ... -     -     -        ... -     -     -        ... -     -     -        ... -     + + + ... + + + ... + + + ... + + + ... + + + ... + - ``` ]]> diff --git a/xml/System.Windows.Controls/AccessText.xml b/xml/System.Windows.Controls/AccessText.xml index f85326593da..640611a29be 100644 --- a/xml/System.Windows.Controls/AccessText.xml +++ b/xml/System.Windows.Controls/AccessText.xml @@ -36,9 +36,9 @@ ; the other underscores appear as normal text. If the underscore that you want converted to the access key is not the first underscore, use two consecutive underscores for any underscores that precede the one that you want to convert. For example, the following code contains an access key and displays as _Hello**W**orld: + If your content has multiple underscore characters, only the first one is converted into an . The other underscores appear as normal text. If the underscore that you want converted to the access key is not the first underscore, use two consecutive underscores for any underscores that precede the one that you want to convert. For example, the following code contains an access key and displays as _Hello**W**orld: -``` +```xaml __Hello_World ``` @@ -46,7 +46,7 @@ To use as a content host in a control style, set in the , as this example shows: -``` +```xaml ``` @@ -442,10 +442,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -889,12 +889,12 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + - or - - + ``` @@ -1211,19 +1211,19 @@ ## XAML Object Element Usage -``` +```xaml _accessText - or - _accessText - ``` ## XAML Values - *_accessText* + + *_accessText*\ A string that contains the underscore character. This value becomes an that handles access keys for the *object*. The access key is the character that immediately follows the underscore. - *accessTextObject* + *accessTextObject*\ The . @@ -1234,8 +1234,6 @@ |Identifier field|| |Metadata properties set to `true`|, | - - ## Examples The following example creates an access key that customizes the first letter of the access key, which contains the mnemonic, and then sets the rest of the text by using the property. @@ -1354,7 +1352,7 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreTextDecorations @@ -1445,18 +1443,18 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreTextEffects - ``` ## XAML Values - *OneOrMoreTextEffects* + + *OneOrMoreTextEffects*\ One or more elements. diff --git a/xml/System.Windows.Controls/Calendar.xml b/xml/System.Windows.Controls/Calendar.xml index 9a52a284983..9f8bb63d0db 100644 --- a/xml/System.Windows.Controls/Calendar.xml +++ b/xml/System.Windows.Controls/Calendar.xml @@ -80,7 +80,7 @@ ## XAML Object Element Usage -``` +```xaml ``` @@ -165,7 +165,7 @@ Calendar controls ## XAML Property Element Usage -``` +```xaml oneOrMoreCalendarDateRanges @@ -228,9 +228,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - - +```xaml + ``` @@ -311,17 +310,17 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - - +```xaml + ``` ## XAML Values - *resourceExtension* + + *resourceExtension*\ One of the following: `StaticResource` or `DynamicResource`. For more information, see [XAML Resources](/dotnet/framework/wpf/advanced/xaml-resources). - *styleResourceKey* + *styleResourceKey*\ The key that identifies the resource being requested. The key refers to an existing resource in a . @@ -394,17 +393,17 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - - +```xaml + ``` ## XAML Values - *resourceExtension* + + *resourceExtension*\ One of the following: `StaticResource` or `DynamicResource`. For more information, see [XAML Resources](/dotnet/framework/wpf/advanced/xaml-resources). - *styleResourceKey* + *styleResourceKey*\ The key that identifies the resource being requested. The key refers to an existing resource in a . @@ -494,8 +493,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -549,8 +548,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -605,8 +604,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -721,8 +720,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -862,8 +861,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1027,8 +1026,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1400,8 +1399,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1500,21 +1499,19 @@ Calendar with dates that cannot be selected ## XAML Property Element Usage -``` +```xaml oneOrMoreDateTimeObjects - ``` ## XAML Values - *oneOrMoreDateTimeObjects* - One or more object elements. - + *oneOrMoreDateTimeObjects*\ + One or more object elements. ## Examples The following example creates a that has multiple ranges of dates selected. @@ -1558,8 +1555,8 @@ Calendar with dates that cannot be selected ## XAML Attribute Usage -``` - +```xaml + ``` ]]> diff --git a/xml/System.Windows.Controls/CalendarDateRange.xml b/xml/System.Windows.Controls/CalendarDateRange.xml index fc1e9ecbe56..ff046e11624 100644 --- a/xml/System.Windows.Controls/CalendarDateRange.xml +++ b/xml/System.Windows.Controls/CalendarDateRange.xml @@ -26,20 +26,20 @@ Represents a range of dates in a . - objects are primarily used by the to specify a range of dates that are not selectable in a . - - - -## Examples - The following example creates objects to specify which dates in a cannot be selected. - + objects are primarily used by the to specify a range of dates that are not selectable in a . + + + +## Examples + The following example creates objects to specify which dates in a cannot be selected. + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/Calendar/Overview/window1.xaml.cs" id="Snippet3"::: :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/calendarsnippets/visualbasic/window1.xaml.vb" id="Snippet3"::: - :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: - + :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: + ]]> @@ -169,31 +169,31 @@ Gets the last date in the represented range. The last date in the represented range. - -## XAML Attribute Usage - -``` - -``` - - -## XAML Values - *dateTimeString* - A date that is in one of the formats that are listed in the [DateTime XAML Syntax](/dotnet/framework/wpf/advanced/datetime-xaml-syntax) topic. - - - -## Examples - The following example creates objects to specify which dates in a cannot be selected. - + +## XAML Attribute Usage + +```xaml + +``` + + +## XAML Values + *dateTimeString* + A date that is in one of the formats that are listed in the [DateTime XAML Syntax](/dotnet/framework/wpf/advanced/datetime-xaml-syntax) topic. + + + +## Examples + The following example creates objects to specify which dates in a cannot be selected. + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/Calendar/Overview/window1.xaml.cs" id="Snippet3"::: :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/calendarsnippets/visualbasic/window1.xaml.vb" id="Snippet3"::: - :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: - + :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: + ]]> @@ -259,31 +259,31 @@ Gets the first date in the represented range. The first date in the represented range. - -## XAML Attribute Usage - -``` - -``` - - -## XAML Values - *dateTimeString* - A date that is in one of the formats that are listed in the [DateTime XAML Syntax](/dotnet/framework/wpf/advanced/datetime-xaml-syntax) topic. - - - -## Examples - The following example creates objects to specify which dates in a cannot be selected. - + +## XAML Attribute Usage + +```xaml + +``` + + +## XAML Values + *dateTimeString* + A date that is in one of the formats that are listed in the [DateTime XAML Syntax](/dotnet/framework/wpf/advanced/datetime-xaml-syntax) topic. + + + +## Examples + The following example creates objects to specify which dates in a cannot be selected. + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/Calendar/Overview/window1.xaml.cs" id="Snippet3"::: :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/calendarsnippets/visualbasic/window1.xaml.vb" id="Snippet3"::: - :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: - + :::code language="xaml" source="~/snippets/xaml/VS_Snippets_Wpf/calendarsnippets/xaml/window1.xaml" id="Snippet3"::: + ]]> diff --git a/xml/System.Windows.Controls/ColumnDefinition.xml b/xml/System.Windows.Controls/ColumnDefinition.xml index 034470c3f01..e6c735136c8 100644 --- a/xml/System.Windows.Controls/ColumnDefinition.xml +++ b/xml/System.Windows.Controls/ColumnDefinition.xml @@ -136,10 +136,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -251,10 +251,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls/ComboBox.xml b/xml/System.Windows.Controls/ComboBox.xml index f9e585b7d29..c99ec9f583e 100644 --- a/xml/System.Windows.Controls/ComboBox.xml +++ b/xml/System.Windows.Controls/ComboBox.xml @@ -685,12 +685,12 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + - or - - + ``` @@ -1137,8 +1137,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1277,8 +1277,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/ContentControl.xml b/xml/System.Windows.Controls/ContentControl.xml index 45432f13eb3..728ca6e4630 100644 --- a/xml/System.Windows.Controls/ContentControl.xml +++ b/xml/System.Windows.Controls/ContentControl.xml @@ -232,15 +232,15 @@ Four buttons with different types of content ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` - content +```xaml + content ``` @@ -419,8 +419,8 @@ Four buttons with different types of content ## XAML Attribute Usage -``` - +```xaml + ``` @@ -534,8 +534,8 @@ Four buttons with different types of content ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/ContextMenu.xml b/xml/System.Windows.Controls/ContextMenu.xml index 58c87a0263a..81ac26afc9e 100644 --- a/xml/System.Windows.Controls/ContextMenu.xml +++ b/xml/System.Windows.Controls/ContextMenu.xml @@ -434,10 +434,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -1359,10 +1359,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls/ContextMenuService.xml b/xml/System.Windows.Controls/ContextMenuService.xml index 6e7812aa378..3e2b4735d68 100644 --- a/xml/System.Windows.Controls/ContextMenuService.xml +++ b/xml/System.Windows.Controls/ContextMenuService.xml @@ -746,10 +746,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -1564,10 +1564,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls/Control.xml b/xml/System.Windows.Controls/Control.xml index 893c05d824c..7e9adcae026 100644 --- a/xml/System.Windows.Controls/Control.xml +++ b/xml/System.Windows.Controls/Control.xml @@ -557,10 +557,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls/ControlTemplate.xml b/xml/System.Windows.Controls/ControlTemplate.xml index fd3b502a4a6..cee8da2125c 100644 --- a/xml/System.Windows.Controls/ControlTemplate.xml +++ b/xml/System.Windows.Controls/ControlTemplate.xml @@ -210,7 +210,7 @@ ## XAML Attribute Usage -``` +```xaml ``` @@ -289,7 +289,7 @@ ## XAML Property Element Usage -``` +```xaml oneOrMoreTriggers diff --git a/xml/System.Windows.Controls/DatePicker.xml b/xml/System.Windows.Controls/DatePicker.xml index 626dcc4d360..68864986f13 100644 --- a/xml/System.Windows.Controls/DatePicker.xml +++ b/xml/System.Windows.Controls/DatePicker.xml @@ -63,7 +63,7 @@ ## XAML Object Element Usage -``` +```xaml ``` @@ -151,7 +151,7 @@ DatePicker Control ## XAML Property Element Usage -``` +```xaml oneOrMoreCalendarDateRanges @@ -219,8 +219,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -269,8 +269,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -328,8 +328,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -415,8 +415,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -480,8 +480,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -543,8 +543,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -659,8 +659,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -860,8 +860,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -943,8 +943,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1234,8 +1234,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1287,8 +1287,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` ]]> @@ -1471,8 +1471,8 @@ DatePicker with dates that are not selectable ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/FlowDocumentReader.xml b/xml/System.Windows.Controls/FlowDocumentReader.xml index 0cd37b25e5e..759e7f51c7d 100644 --- a/xml/System.Windows.Controls/FlowDocumentReader.xml +++ b/xml/System.Windows.Controls/FlowDocumentReader.xml @@ -2390,8 +2390,8 @@ ## XAML Text Usage -``` - +```xaml + ``` ]]> diff --git a/xml/System.Windows.Controls/Grid.xml b/xml/System.Windows.Controls/Grid.xml index a1ee87f4957..240029f15ad 100644 --- a/xml/System.Windows.Controls/Grid.xml +++ b/xml/System.Windows.Controls/Grid.xml @@ -204,18 +204,18 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreColumnDefinitions - ``` ## XAML Values - *OneOrMoreColumnDefinitions* + + *OneOrMoreColumnDefinitions*\ One or more elements. Each such becomes a placeholder representing a column in the final grid layout. ]]> @@ -804,7 +804,7 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreRowDefinitions diff --git a/xml/System.Windows.Controls/GridSplitter.xml b/xml/System.Windows.Controls/GridSplitter.xml index 43b9cd24db0..152fc88337c 100644 --- a/xml/System.Windows.Controls/GridSplitter.xml +++ b/xml/System.Windows.Controls/GridSplitter.xml @@ -422,8 +422,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/GridView.xml b/xml/System.Windows.Controls/GridView.xml index a6e651d8e46..86e26ac5dbf 100644 --- a/xml/System.Windows.Controls/GridView.xml +++ b/xml/System.Windows.Controls/GridView.xml @@ -420,8 +420,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -684,8 +684,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -803,14 +803,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -910,14 +910,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -1043,7 +1043,7 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreGridViewColumns diff --git a/xml/System.Windows.Controls/GridViewColumn.xml b/xml/System.Windows.Controls/GridViewColumn.xml index 852aef2c7ef..bb052713ec3 100644 --- a/xml/System.Windows.Controls/GridViewColumn.xml +++ b/xml/System.Windows.Controls/GridViewColumn.xml @@ -48,11 +48,11 @@ You can use the to define the data to display in a column. You can also define the data as part of a that is specified by the property. If different cells have different objects, the property can specify a . The following list shows the properties mentioned here, in their order of precedence from highest to lowest: -- +- -- +- -- +- The class also contains properties that you can use to define and customize the column header for the column. The property can define the content of the column header. Other properties such as and can also specify content and style for the column header. Some of these properties are also found on other classes such as the class. For more information about the properties that are used to define styles and templates for column headers, and for information about the order of precedence for these properties, see [GridView Column Header Styles and Templates Overview](/dotnet/framework/wpf/controls/gridview-column-header-styles-and-templates-overview). @@ -171,17 +171,15 @@ ## Remarks The following properties all bind to and display the content of a column cell, and are listed here in their order of precedence, from highest to lowest: -- - -- - -- +- +- +- ## XAML Attribute Usage -``` - +```xaml + ``` @@ -296,23 +294,23 @@ ## Remarks The following properties all bind to and display the content of a column cell, and are listed here in their order of precedence, from highest to lowest: -- +- -- +- -- +- ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -423,11 +421,11 @@ The following properties are all used to define the content and style of a column cell, and are listed here in their order of precedence, from highest to lowest: -- `DisplayMemberBinding` (this property) +- `DisplayMemberBinding` (this property) -- +- -- +- @@ -486,14 +484,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -556,8 +554,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -704,11 +702,11 @@ You can use several properties to specify the format of the column headers. If more than one property is set, the column header is formatted with the value of the property that has the highest priority. The format for a column can be set on several types. The following list shows the properties that can be used to format the column headers, ordered from lowest to highest priority: -- +- -- +- -- +- ## Dependency Property Information @@ -789,8 +787,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -911,14 +909,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -1144,12 +1142,12 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + - or - - + ``` diff --git a/xml/System.Windows.Controls/GridViewHeaderRowPresenter.xml b/xml/System.Windows.Controls/GridViewHeaderRowPresenter.xml index 561a61ef4c8..74c39d1b6ac 100644 --- a/xml/System.Windows.Controls/GridViewHeaderRowPresenter.xml +++ b/xml/System.Windows.Controls/GridViewHeaderRowPresenter.xml @@ -224,8 +224,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -493,8 +493,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -598,14 +598,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml @@ -699,14 +699,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml diff --git a/xml/System.Windows.Controls/GroupStyle.xml b/xml/System.Windows.Controls/GroupStyle.xml index 9204522f5f5..a89ae00180e 100644 --- a/xml/System.Windows.Controls/GroupStyle.xml +++ b/xml/System.Windows.Controls/GroupStyle.xml @@ -34,18 +34,18 @@ Defines how you want the group to look at each level. - that is bound to an and the code-behind content that contains the logic to add and remove grouping. When the check box is checked, the content of the is grouped by the `Type` attribute. - - Each group is of type . The is specified so that it appears as a that displays the of each the group. In this case, the is either `Work` or `Home`. - - :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml" id="Snippetxaml"::: - + that is bound to an and the code-behind content that contains the logic to add and remove grouping. When the check box is checked, the content of the is grouped by the `Type` attribute. + + Each group is of type . The is specified so that it appears as a that displays the of each the group. In this case, the is either `Work` or `Home`. + + :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml" id="Snippetxaml"::: + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml.cs" id="Snippetcode"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/GroupingSample/visualbasic/window1.xaml.vb" id="Snippetcode"::: - + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/GroupingSample/visualbasic/window1.xaml.vb" id="Snippetcode"::: + ]]> @@ -111,40 +111,40 @@ Gets or sets the number of alternating objects. The number of alternating objects. - property and the attached property enable you to specify the appearance for two or more alternating objects. For example, you can specify alternating background colors for every third in an . The is assigned to each in the . begins at 0, increments until it is minus 1, and then restarts at 0. For example, if is 3 and there are seven objects in the , the following table lists the for each item. - -|Position of in the || -|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| -|1|0| -|2|1| -|3|2| -|4|0| -|5|1| -|6|2| -|7|0| - - There are several methods you can use to specify different appearances for the alternating objects. One method is to bind properties in the or of the to the . You can then use an to specify which value should be applied to the that has a certain value. You can also use triggers to change the value of a property depending on the value of its . - - - -## Examples - The following example creates a that is bound to a that groups the items in the collection. The example alternates the background for the header of each between two colors by doing the following: - -- Sets to 2. - -- Creates an that returns a , depending on the value of . - -- Binds the of the in the to the property and provides the . Note that the attached property is set on the , and the binding uses to get its value. - - The example also alternates the background of the items in the between three colors by setting the on the and binding the of each to the . In this case, the background alternates between three colors. - - The that groups the items is not shown. For information on how to group item, see [How to: Sort and Group Data Using a View in XAML](/dotnet/framework/wpf/data/how-to-sort-and-group-data-using-a-view-in-xaml). - - :::code language="xaml" source="~/snippets/csharp/System.Windows/HierarchicalDataTemplate/AlternationCount/Window1.xaml" id="Snippet3"::: - + property and the attached property enable you to specify the appearance for two or more alternating objects. For example, you can specify alternating background colors for every third in an . The is assigned to each in the . begins at 0, increments until it is minus 1, and then restarts at 0. For example, if is 3 and there are seven objects in the , the following table lists the for each item. + +|Position of in the || +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| +|1|0| +|2|1| +|3|2| +|4|0| +|5|1| +|6|2| +|7|0| + + There are several methods you can use to specify different appearances for the alternating objects. One method is to bind properties in the or of the to the . You can then use an to specify which value should be applied to the that has a certain value. You can also use triggers to change the value of a property depending on the value of its . + + + +## Examples + The following example creates a that is bound to a that groups the items in the collection. The example alternates the background for the header of each between two colors by doing the following: + +- Sets to 2. + +- Creates an that returns a , depending on the value of . + +- Binds the of the in the to the property and provides the . Note that the attached property is set on the , and the binding uses to get its value. + + The example also alternates the background of the items in the between three colors by setting the on the and binding the of each to the . In this case, the background alternates between three colors. + + The that groups the items is not shown. For information on how to group item, see [How to: Sort and Group Data Using a View in XAML](/dotnet/framework/wpf/data/how-to-sort-and-group-data-using-a-view-in-xaml). + + :::code language="xaml" source="~/snippets/csharp/System.Windows/HierarchicalDataTemplate/AlternationCount/Window1.xaml" id="Snippet3"::: + ]]> @@ -185,26 +185,26 @@ Gets or sets the style that is applied to the generated for each item. The style that is applied to the generated for each item. The default is . - inline in property element syntax, rather than creating the style as a resource, is a reasonable alternative methodology. - - -## XAML Attribute Usage - -``` - -``` - - -## XAML Values - *ResourceExtension* - One of the following: `StaticResource`, or `DynamicResource`. See [XAML Resources](/dotnet/framework/wpf/advanced/xaml-resources). - - *StyleResourceKey* - The key that identifies the style being requested. The key refers to an existing resource in a . - + inline in property element syntax, rather than creating the style as a resource, is a reasonable alternative methodology. + + +## XAML Attribute Usage + +```xaml + +``` + + +## XAML Values + *ResourceExtension* + One of the following: `StaticResource`, or `DynamicResource`. See [XAML Resources](/dotnet/framework/wpf/advanced/xaml-resources). + + *StyleResourceKey* + The key that identifies the style being requested. The key refers to an existing resource in a . + ]]> @@ -282,21 +282,21 @@ Gets the default style of the group. The default style of the group. - -## XAML Property Element Usage - -``` - - - - - -``` - + +## XAML Property Element Usage + +```xaml + + + + + +``` + ]]> @@ -326,11 +326,11 @@ Identifies the default that creates the panel used to layout the items. - @@ -371,23 +371,23 @@ Gets or sets a composite string that specifies how to format the header if it is displayed as a string. A composite string that specifies how to format the header if it is displayed as a string. - can be a predefined, composite, or custom string format. For more information about string formats, see [Formatting Types](/dotnet/standard/base-types/formatting-types). If you set the or property of a , the property is ignored. - - - -## Examples - The following example creates a that groups a collection of items by price range. The converter, `GroupByPrice`, returns an integer value that is above each item's price. For example, if an item's price is between 0 and 100, the converter returns 100. The example uses the to create a string that includes the upper limit for each price range. For example, in the United States, items that are under 100 dollars are grouped under a heading that says "Items under $100". - - :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/ContentControl/ContentStringFormat/Window1.xaml" id="Snippetgroupstyleheaderstringformat"::: - - The following example shows the `GroupByPrice` class, the `PurchaseItem` class, and the collection that the is bound to. - + can be a predefined, composite, or custom string format. For more information about string formats, see [Formatting Types](/dotnet/standard/base-types/formatting-types). If you set the or property of a , the property is ignored. + + + +## Examples + The following example creates a that groups a collection of items by price range. The converter, `GroupByPrice`, returns an integer value that is above each item's price. For example, if an item's price is between 0 and 100, the converter returns 100. The example uses the to create a string that includes the upper limit for each price range. For example, in the United States, items that are under 100 dollars are grouped under a heading that says "Items under $100". + + :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/ContentControl/ContentStringFormat/Window1.xaml" id="Snippetgroupstyleheaderstringformat"::: + + The following example shows the `GroupByPrice` class, the `PurchaseItem` class, and the collection that the is bound to. + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/ContentControl/ContentStringFormat/Window1.xaml.cs" id="Snippetgroupstyledata"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/ContentStringSnippets/visualbasic/window1.xaml.vb" id="Snippetgroupstyledata"::: - + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/ContentStringSnippets/visualbasic/window1.xaml.vb" id="Snippetgroupstyledata"::: + ]]> @@ -428,28 +428,28 @@ Gets or sets the template that is used to display the group header. A object that is used to display the group header. The default is . - that is bound to an and the code-behind content that contains the logic to add and remove grouping. When the check box is checked, the content of the is grouped by the `Type` attribute. - - Each group is of type . The is specified so that it appears as a that displays the of each the group. In this case, the is either `Work` or `Home`. - - :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml" id="Snippetxaml"::: - + that is bound to an and the code-behind content that contains the logic to add and remove grouping. When the check box is checked, the content of the is grouped by the `Type` attribute. + + Each group is of type . The is specified so that it appears as a that displays the of each the group. In this case, the is either `Work` or `Home`. + + :::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml" id="Snippetxaml"::: + :::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/GroupStyle/Overview/Window1.xaml.cs" id="Snippetcode"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/GroupingSample/visualbasic/window1.xaml.vb" id="Snippetcode"::: - - The following example shows how to use the property: - - :::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetgroupstyle"::: - - The following is the definition of the `groupingHeaderTemplate` : - - :::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetheadertemplate"::: - - For the complete sample, see [Data Binding Demo](https://go.microsoft.com/fwlink/?LinkID=163703). - + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/GroupingSample/visualbasic/window1.xaml.vb" id="Snippetcode"::: + + The following example shows how to use the property: + + :::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetgroupstyle"::: + + The following is the definition of the `groupingHeaderTemplate` : + + :::code language="xaml" source="~/snippets/csharp/System.Windows/DataTemplate/Triggers/MainWindow.xaml" id="Snippetheadertemplate"::: + + For the complete sample, see [Data Binding Demo](https://go.microsoft.com/fwlink/?LinkID=163703). + ]]> diff --git a/xml/System.Windows.Controls/HeaderedContentControl.xml b/xml/System.Windows.Controls/HeaderedContentControl.xml index cd643a135ba..d0f9d6a40ad 100644 --- a/xml/System.Windows.Controls/HeaderedContentControl.xml +++ b/xml/System.Windows.Controls/HeaderedContentControl.xml @@ -411,8 +411,8 @@ TabControl with different types in the Header property ## XAML Attribute Usage -``` - +```xaml + ``` @@ -520,14 +520,14 @@ TabControl with different types in the Header property ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml diff --git a/xml/System.Windows.Controls/HeaderedItemsControl.xml b/xml/System.Windows.Controls/HeaderedItemsControl.xml index 9056d52e44e..e46e0ebb176 100644 --- a/xml/System.Windows.Controls/HeaderedItemsControl.xml +++ b/xml/System.Windows.Controls/HeaderedItemsControl.xml @@ -236,25 +236,25 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml - ``` ## XAML Values - *headerString* + + *headerString*\ The string to use as a heading. @@ -406,8 +406,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` @@ -517,14 +517,14 @@ ## XAML Attribute Usage -``` - +```xaml + ``` ## XAML Property Element Usage -``` +```xaml diff --git a/xml/System.Windows.Controls/Image.xml b/xml/System.Windows.Controls/Image.xml index 9fe2a89c3c7..c5d1e6809a2 100644 --- a/xml/System.Windows.Controls/Image.xml +++ b/xml/System.Windows.Controls/Image.xml @@ -450,8 +450,8 @@ ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/InkCanvas.xml b/xml/System.Windows.Controls/InkCanvas.xml index cb204a1424f..7f13d6f7b95 100644 --- a/xml/System.Windows.Controls/InkCanvas.xml +++ b/xml/System.Windows.Controls/InkCanvas.xml @@ -400,10 +400,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -550,7 +550,7 @@ ## XAML Property Element Usage -``` +```xaml OneOrMoreUIElements @@ -1988,10 +1988,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -2905,7 +2905,7 @@ ## XAML Property Element Usage -``` +```xaml InkCanvasClipboardFormats @@ -3016,10 +3016,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` @@ -4207,10 +4207,10 @@ ## XAML Attribute Usage -``` - +```xaml + - or - - + ``` diff --git a/xml/System.Windows.Controls/ItemsControl.xml b/xml/System.Windows.Controls/ItemsControl.xml index f5bfc3c9732..f3c26902ebc 100644 --- a/xml/System.Windows.Controls/ItemsControl.xml +++ b/xml/System.Windows.Controls/ItemsControl.xml @@ -826,21 +826,19 @@ ListBox that contains multiple types of objects ## XAML Property Element Usage -``` +```xaml OneOrMoreGroupStyleObjects - ``` ## XAML Values - *OneOrMoreGroupStyleObjects* - One or more objects. - + *OneOrMoreGroupStyleObjects*\ + One or more objects. ## Examples The following examples show an that is bound to an and the code-behind content that contains the logic to add and remove grouping. When the check box is checked, the content of the is grouped by the `Type` attribute. @@ -1495,8 +1493,8 @@ ListBox that contains multiple types of objects ## XAML Attribute Usage -``` - +```xaml + ``` @@ -1723,7 +1721,7 @@ ListBox that contains multiple types of objects ## XAML Property Element Usage -``` +```xaml OneOrMoreElements @@ -1981,8 +1979,8 @@ ListBox that contains multiple types of objects ## XAML Attribute Usage -``` - +```xaml + ``` @@ -2160,8 +2158,8 @@ ListBox that contains multiple types of objects ## XAML Attribute Usage -``` - +```xaml + ``` @@ -2284,8 +2282,8 @@ ListBox that contains multiple types of objects ## XAML Attribute Usage -``` - +```xaml + ``` diff --git a/xml/System.Windows.Controls/Label.xml b/xml/System.Windows.Controls/Label.xml index 0ab9d0ed1ef..6e2ba8fca4f 100644 --- a/xml/System.Windows.Controls/Label.xml +++ b/xml/System.Windows.Controls/Label.xml @@ -37,7 +37,7 @@ To set the access key, add an underscore before the character that should be the access key. If your content has multiple underscore characters, only the first one is converted into an access key; the other underscores appear as normal text. If the underscore that you want converted to the access key is not the first underscore, use two consecutive underscores for any underscores that precede the one that you want to convert. For example, the following code contains an access key and displays as _Hello**W**orld: -``` +```xaml ``` @@ -177,9 +177,8 @@ ## XAML Attribute Usage -``` - - +```xaml +