Share via


RibbonApplicationMenuItem.Level Property

Gets a value that indicates at what level the menu item is displayed.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property Level As RibbonApplicationMenuItemLevel
public RibbonApplicationMenuItemLevel Level { get; internal set; }
public:
property RibbonApplicationMenuItemLevel Level {
    RibbonApplicationMenuItemLevel get ();
    internal: void set (RibbonApplicationMenuItemLevel value);
}
member Level : RibbonApplicationMenuItemLevel with get, internal set
function get Level () : RibbonApplicationMenuItemLevel
internal function set Level (value : RibbonApplicationMenuItemLevel)

Property Value

Type: Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItemLevel
One the enumeration values that specifies at what level the menu item is displayed. The registered default is Top. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

LevelProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonApplicationMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace