Skip to content

Commit df971e1

Browse files
Jay-o-Waykarkarl
authored andcommitted
Update CommandBar description (#1529)
## Description Quick update to the description (copy from MS Learn) ## Motivation and Context Text is outdated / does not apply. fixes #1518 ## Screenshots (if appropriate): ![image](https://github.com/microsoft/WinUI-Gallery/assets/65828559/386ed581-60ff-4ff6-b2b7-3f83027d0b53) ## Types of changes - [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 228a4cd commit df971e1

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

WinUIGallery/DataModel/ControlInfoData.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -315,29 +315,29 @@
315315
]
316316
},
317317
{
318-
"UniqueId": "CommandBar",
319-
"Title": "CommandBar",
320-
"ApiNamespace": "Microsoft.UI.Xaml.Controls",
321-
"Subtitle": "A toolbar for displaying application-specific commands that handles layout and resizing of its contents.",
322-
"ImagePath": "ms-appx:///Assets/ControlImages/CommandBar.png",
323-
"Description": "The CommandBar simplifies the creation of basic app bars by providing:\n- Automatic layout of commands, with primary commands on the right and secondary commands on the left.\n- Automatic resizing of app bar commands when the app size changes.\nWhen you need an app bar that contains only AppBarButton,AppBarToggleButton , and AppBarSeparator controls, use a CommandBar. If you need more complex content, such as images, progress bars, or text blocks, use an AppBar control.",
324-
"Content": "<p>The bottom app bar on this page is a <b>CommandBar</b> control.</p><p>Add secondary commands and then resize the app to see how the <b>CommandBar</b> automatically adapts to different widths.</p><p>This <b>CommandBar</b> element is in the ItemPage so it can be shared across all control pages in the app. Look at the <i>ItemPage.xaml</i> file in Visual Studio to see the full code for this page.</p>",
325-
"SourcePath": "/CommonStyles/CommandBar_themeresources.xaml",
326-
"Docs": [
327-
{
328-
"Title": "CommandBar - API",
329-
"Uri": "https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.commandbar"
330-
},
331-
{
332-
"Title": "Guidelines",
333-
"Uri": "https://learn.microsoft.com/windows/apps/design/controls/command-bar"
334-
}
335-
],
336-
"RelatedControls": [
337-
"AppBarButton",
338-
"AppBarToggleButton",
339-
"AppBarSeparator"
340-
]
318+
"UniqueId": "CommandBar",
319+
"Title": "CommandBar",
320+
"ApiNamespace": "Microsoft.UI.Xaml.Controls",
321+
"Subtitle": "A toolbar for displaying application-specific commands that handles layout and resizing of its contents.",
322+
"ImagePath": "ms-appx:///Assets/ControlImages/CommandBar.png",
323+
"Description": "Command bars provide users with easy access to your app's most common tasks. Command bars can provide access to app-level or page-specific commands and can be used with any navigation pattern. By default, the command bar shows a row of icon buttons and an optional \"see more\" button, which is represented by an ellipsis [...].",
324+
"Content": "<p>The bottom app bar on this page is a <b>CommandBar</b> control.</p><p>Add secondary commands and then resize the app to see how the <b>CommandBar</b> automatically adapts to different widths.</p><p>This <b>CommandBar</b> element is in the ItemPage so it can be shared across all control pages in the app. Look at the <i>ItemPage.xaml</i> file in Visual Studio to see the full code for this page.</p>",
325+
"SourcePath": "/CommonStyles/CommandBar_themeresources.xaml",
326+
"Docs": [
327+
{
328+
"Title": "CommandBar - API",
329+
"Uri": "https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.commandbar"
330+
},
331+
{
332+
"Title": "Guidelines",
333+
"Uri": "https://learn.microsoft.com/windows/apps/design/controls/command-bar"
334+
}
335+
],
336+
"RelatedControls": [
337+
"AppBarButton",
338+
"AppBarToggleButton",
339+
"AppBarSeparator"
340+
]
341341
},
342342
{
343343
"UniqueId": "MenuBar",

0 commit comments

Comments
 (0)