MenuEventArgs.CommandSource Property

Definition

Gets the Object that raised the event.

public:
 property System::Object ^ CommandSource { System::Object ^ get(); };
public object CommandSource { get; }
member this.CommandSource : obj
Public ReadOnly Property CommandSource As Object

Property Value

The Object that raised the event.

Remarks

Use the CommandSource property to access the Object that raised the event.

Applies to

See also