Skip to main content

PGridOptionsMenu Members

Contains options that affect the display of context menus in a PropertyGridControl.

Constructors

Name Description
PGridOptionsMenu() Initializes a new instance of the PGridOptionsMenu class.

Properties

Name Description
EnableContextMenu Gets or sets whether users can invoke a context menu with a right-click on a property. Inherited from VGridOptionsMenu.
ShowConditionalFormattingItem Gets or sets whether the control displays the Conditional Formatting sub-menu in a row’s context menu. Conditional formatting allows users to apply appearance settings to rows based on cell values. Inherited from VGridOptionsMenu.

Methods

Name Description
Assign(BaseOptions) Copies all the settings from the options object passed as the parameter to the current object. Inherited from VGridOptionsMenu.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
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.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all options to their default values. Inherited from BaseOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also