# Ribbon element

Represents the ribbon control in the Ribbon View.

## Usage

```<Ribbon
Name = "xs:string"
GroupSpacing = "xs:string">
child elements
</Ribbon>

```

## Attributes

AttributeTypeRequiredDescription

GroupSpacing

xs:string

No

(Small)

Default.

(Medium)

(Large)

Name

xs:string

No

Used to annotate the command element.

(xs:string)

Any sequence of zero or more characters.

The maximum length is unbounded.

## Child elements

ElementDescription

May occur at most once

May occur at most once

May occur at most once

May occur at most once

May occur at most once

May occur at most once

Element

## 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.SizeDefinitions>
...
</Ribbon.SizeDefinitions>
<Ribbon.Tabs>
...
</Ribbon.Tabs>
<Ribbon.ContextualTabs>
...
</Ribbon.ContextualTabs>
<Ribbon.HelpButton>
...
</Ribbon.HelpButton>
</Ribbon>

```

## Element information

 Minimum supported system Windows 7 No