Application.Views property
Represents a container for each Ribbon framework View, specifically the Ribbon and the ContextPopup.
Usage
<Application.Views>
child elements
</Application.Views>
Attributes
There are no attributes.
Child elements
Element | Description |
---|---|
ContextPopup |
May occur one or more times |
Ribbon |
Must occur exactly once |
Parent elements
Element |
---|
Application |
Remarks
Required.
Must occur exactly once for each Application element.
Examples
The following example shows an Application.Views element that contains a manifest of Ribbon controls, each with a reference to a Command declared in the Application.Commands element.
<Application.Views>
<Ribbon Name="ScenicRibbonSampleApp">
<Ribbon.Tabs>
<Tab CommandName="cmdHomeTab">
<Group CommandName="cmdClipboardGroup"
SizeDefinition="ThreeButtons">
<Button CommandName="cmdCopy"/>
<Button CommandName="cmdPaste"/>
<ToggleButton CommandName="cmdMinimize"/>
</Group>
</Tab>
</Ribbon.Tabs>
</Ribbon>
</Application.Views>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |