0 out of 1 rated this helpful - Rate this topic

UICommandSeparator class

Applies to Windows and Windows Phone

Represents a command separator in a context menu.

Syntax


var uiCommandSeparator = new Windows.UI.Popups.UICommandSeparator();

Attributes

[MarshalingBehavior(Agile)]
[Muse()]
[Threading(Both)]
[Version(0x06020000)]

Members

The UICommandSeparator class has these types of members:

Constructors

The UICommandSeparator class has these constructors.

ConstructorDescription
UICommandSeparator Creates a new instance of the UICommandSeparator class.

 

Methods

The UICommandSeparator class inherits methods from the Object class (C#/VB/C++).

Properties

The UICommandSeparator class has these properties.

PropertyAccess typeDescription

Id

Read/writeGets or sets the identifier of the command separator.

Invoked

Read/writeGets or sets the handler for the event that is fired for the command separator.

Label

Read/writeGets or sets the label for the command separator.

 

Remarks

You can use a command separator to create a visual separation between groups of items in a context menu.

Setting properties on a UICommandSeparator object has no effect.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Popups
Windows::UI::Popups [C++]

Metadata

Windows.winmd

See also

Adding context menus
Context menu sample
Guidelines and checklist for context menus
Reference
PopupMenu.Commands
UICommand

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.