Application element

Represents the top-level element in the Windows Ribbon framework markup specification.

Usage

<Application
  xmlns = "xs:string">
  child elements
</Application>

Attributes

Attribute Type Required Description
xmlns
xs:string
Yes
http://schemas.microsoft.com/windows/2009/Ribbon
The URI for the Ribbon markup namespace binding.

Child elements

Element Description
Application.Commands
May occur at most once

Application.Views
Must occur exactly once

Parent elements

There are no parent elements.

Remarks

Required.

Must occur exactly once as the container for all of the Ribbon markup.

The child elements of the Application element must occur in the specified order:

  1. Application.Commands
  2. Application.Views

Examples

The following example shows an Application element declaration.

<Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">
...
</Application>

Element information

Requirement Details
Minimum supported system
Windows 7
Can be empty No

See also

Declaring Commands and Controls with Ribbon Markup