Skip to content

Commit a569dc7

Browse files
Update control descriptions for consistency (#1863)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> Capitalized some control names in their descriptions. ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here. --> ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> Ran the app and confirmed the changes. ## Screenshots (if appropriate): ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change)
1 parent 0380525 commit a569dc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WinUIGallery/Samples/Data/ControlInfoData.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
"ApiNamespace": "Microsoft.UI.Xaml.Controls",
374374
"Subtitle": "A button that's styled for use in a CommandBar.",
375375
"ImagePath": "ms-appx:///Assets/ControlImages/AppBarButton.png",
376-
"Description": "App bar buttons differ from standard buttons in several ways:\n- Their default appearance is a transparent background with a smaller size.\n- You use the Label and Icon properties to set the content instead of the Content property. The Content property is ignored.\n- The button's IsCompact property controls its size.",
376+
"Description": "AppBarButton differs from standard buttons in several ways:\n- Their default appearance is a transparent background with a smaller size.\n- You use the Label and Icon properties to set the content instead of the Content property. The Content property is ignored.\n- The button's IsCompact property controls its size.",
377377
"Content": "<p>You can open the app bar and toggle the IsCompact button to see how the app bar buttons on this page change.</p><p>Use the <b>Label</b> and <b>Icon</b> properties to define the content of the app bar buttons. Set the <b>Label</b> property to a string to specify the text label. The label is shown by default but is hidden when the button is in its compact state, so you also need to specify a meaningful icon. To do that, set the button's <b>Icon</b> property to an element derived from the <b>IconElement</b> class. Four kinds of icon elements are provided:</p><p><b>FontIcon</b> - The icon is based on a glyph from the specified font family.</p><p><b>BitmapIcon</b> - The icon is based on a bitmap image file with the specified Uri.</p><p><b>PathIcon</b> - The icon is based on Path data.</p><p><b>SymbolIcon</b> - The icon is based on a predefined list of glyphs from the Segoe UI Symbol font.</p><p>Look at the <i>AppBarButtonPage.xaml</i> file in Visual Studio to see the full code for this page.</p>",
378378
"SourcePath": "/CommonStyles/AppBarButton_themeresources.xaml",
379379
"Docs": [
@@ -1365,7 +1365,7 @@
13651365
"ApiNamespace": "Microsoft.UI.Xaml.Controls",
13661366
"Subtitle": "A two-part button that displays a flyout when its secondary part is clicked.",
13671367
"ImagePath": "ms-appx:///Assets/ControlImages/SplitButton.png",
1368-
"Description": "The splitbutton is a dropdown button, but with an addition execution hit target.",
1368+
"Description": "The SplitButton is a dropdown button, but with an addition execution hit target.",
13691369
"SourcePath": "/SplitButton",
13701370
"Docs": [
13711371
{
@@ -2512,7 +2512,7 @@
25122512
"ApiNamespace": "Microsoft.UI.Xaml.Controls",
25132513
"Subtitle": "Common vertical layout for top-level areas of your app via a collapsible navigation menu.",
25142514
"ImagePath": "ms-appx:///Assets/ControlImages/NavigationView.png",
2515-
"Description": "The navigation view control provides a common vertical layout for top-level areas of your app via a collapsible navigation menu.",
2515+
"Description": "The NavigationView control provides a common vertical layout for top-level areas of your app via a collapsible navigation menu.",
25162516
"SourcePath": "/NavigationView",
25172517
"Docs": [
25182518
{

0 commit comments

Comments
 (0)