RVTDocs.com
Namespace: Autodesk.Revit.UI

ContextMenu

Class
Description:
A class that owns context menu items.
Remarks:

There are three types of menu items (CommandMenuItem, SubMenuItem, SeparatorItem) that can be added to a ContextMenu object.

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.ContextMenu
Syntax
public class ContextMenu : IDisposable
ContextMenu Class Members:
Name Description Inherited From
ContextMenu Default constructor
Name Description Inherited From
IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Name Description Inherited From
AddItem Add an item to the Context Menu.
Dispose Releases all resources used by the ContextMenu
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
ToString Returns a string that represents the current object. (Inherited from Object ) Object