Ribbon element
Represents the ribbon control in the Ribbon View.
Usage
<Ribbon
Name = "xs:string"
GroupSpacing = "xs:string">
child elements
</Ribbon>
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
GroupSpacing |
xs:string |
No |
|
Name |
xs:string |
No |
Used to annotate the command element. The maximum length is unbounded. |
Child elements
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 |
Parent elements
Element |
---|
Application.Views |
Remarks
Required.
Must occur exactly once for each Application.Views element.
Examples
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>
Element information
- Minimum supported system: Windows 7
- Can be empty: No