title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ribbon element |
Represents the ribbon control in the Ribbon View. |
51083180-4e86-4c90-9fd1-a58c12bcc756 |
|
|
|
|
reference |
05/31/2018 |
Represents the ribbon control in the Ribbon View.
<Ribbon
Name = "xs:string"
GroupSpacing = "xs:string">
child elements
</Ribbon>
Attribute | Type | Required | Description |
---|---|---|---|
GroupSpacing |
xs:string |
No |
|
Name |
xs:string |
No |
Used to annotate the command element. The maximum length is unbounded. |
Element | Description |
---|---|
Ribbon.ApplicationMenu |
May occur at most once |
Ribbon.ContextualTabs |
May occur at most once |
Ribbon.HelpButton |
May occur at most once |
Ribbon.QuickAccessToolbar |
May occur at most once |
Ribbon.SizeDefinitions |
May occur at most once |
Ribbon.Tabs |
May occur at most once |
Element |
---|
Application.Views |
Required.
Must occur exactly once for each Application.Views element.
The following example demonstrates the basic markup for a Ribbon View.
<Ribbon Name="ScenicRibbonSampleApp">
<Ribbon.QuickAccessToolbar>
...
</Ribbon.QuickAccessToolbar>
<Ribbon.ApplicationMenu>
...
</Ribbon.ApplicationMenu>
<Ribbon.SizeDefinitions>
...
</Ribbon.SizeDefinitions>
<Ribbon.Tabs>
...
</Ribbon.Tabs>
<Ribbon.ContextualTabs>
...
</Ribbon.ContextualTabs>
<Ribbon.HelpButton>
...
</Ribbon.HelpButton>
</Ribbon>
- Minimum supported system: Windows 7
- Can be empty: No