MenuEventArgs.CommandSource Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.