IButtonControl.CommandName Propriedade

Definição

Obtém ou define o nome do comando que é propagado para o evento Command.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

Valor da propriedade

String

O nome do comando que é propagado para o Command evento.The name of the command that is propagated to the Command event.

Comentários

Um controle que implementa a IButtonControl interface deve implementar a CommandArgument propriedade e a CommandName propriedade para indicar o argumento e o nome do comando que são propagados para o Command evento.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.

Aplica-se a

Confira também