IButtonControl.CommandName 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 or sets the command name that is propagated to the Command event.
public:
property System::String ^ CommandName { System::String ^ get(); void set(System::String ^ value); };
public string CommandName { get; set; }
member this.CommandName : string with get, set
Public Property CommandName As String
Property Value
The name of the command that is propagated to the Command event.
Remarks
A control that implements the IButtonControl interface must implement the CommandArgument property and the CommandName property to indicate the argument and command name that are propagated to the Command event.