Share via


MenuAction Members

Include Protected Members
Include Inherited Members

A context menu item which represents an action to take in the designer.

The MenuAction type exposes the following members.

Constructors

 

Name

Description

Public method

MenuAction

Initializes a new instance of the MenuAction class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnPropertyChanged

Raises the PropertyChanged event. (Inherited from MenuBase.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Checkable

Gets or sets a value indicating whether the menu item requires user interface (UI) that displays a check box.

Public property

Checked

Gets or sets a value indicating whether the menu item is checked.

Public property

Command

Gets the command which represents the menu action.

Public property

Context

Gets the current editing context. (Inherited from MenuBase.)

Public property

DisplayName

Gets or sets the localized text to display for the menu item. (Inherited from MenuBase.)

Public property

Enabled

Gets or sets a value indicating whether the menu action item is available to the user.

Public property

ImageUri

Gets or sets the path to an image associated with the MenuAction.

Public property

Name

Gets or sets the unique identifier for the menu item. (Inherited from MenuBase.)

Public property

Visible

Gets or sets a value indicating whether the item is displayed in the menu.

Top

Events

 

Name

Description

Public event

Execute

Occurs when the menu item is executed.

Public event

PropertyChanged

Occurs when a property has changed. (Inherited from MenuBase.)

Top

See Also

Reference

MenuAction Class

Microsoft.Windows.Design.Interaction Namespace