MenuButtonArgs Class

Arguments of a menu button action.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public class MenuButtonArgs
Inheritance
Object    MenuButtonArgs

Constructors

MenuButtonArgs Constructs MenuButtonArgs.

Properties

Cancel Allows to cancel the action.
Content Additional content for the action.
CurrentRegion

Region which is affected by the action.

  Note

Getter of this property provides access to the first item of CurrentRegions. Setter of this property sets CurrentRegions to an array with a single item.

CurrentRegions Multiple regions which are created or affected by the action.
DialogPath File path selected by the user in a dialog which is shown before the action. See OpenFileFilter and SaveFileFilter.
MenuButton Menu button which is pressed.
SessionProfile Profile of the session.
Worksheet Worksheet the action is performed against.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRegionsEnumerator Starts enumeration of worksheet regions.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SubscribeOnChanges Subscribes to the WorksheetStatusChanged of Worksheet.
Obsolete.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also