IButtonControl.CommandName IButtonControl.CommandName IButtonControl.CommandName IButtonControl.CommandName Property

Definition

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.

Applies to

See also