Skip to main content

DiagramContextMenuBuilder Members

Provides methods that allow you to configure nested options of the client-side contextMenu object.

Constructors

Name Description
DiagramContextMenuBuilder(OptionsOwnerContext) For internal use only. Initializes a new DiagramContextMenuBuilder class instance.

Methods

Name Description
Commands(Action<CollectionFactory<DiagramCustomCommandBuilder>>) Provides access to the client-side commands option that represents a command collection.
Commands(IEnumerable<DiagramCommand>) Lists commands in the context menu. Mirrors the client-side commands option.
Enabled(JS) Specifies whether the context menu is enabled. Mirrors the client-side enabled option.
Enabled(Boolean) Specifies whether the context menu is enabled. Mirrors the client-side enabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also