Redigera

Dela via


IButtonControl.CommandArgument Property

Definition

Gets or sets an optional argument that is propagated to the Command event.

public:
 property System::String ^ CommandArgument { System::String ^ get(); void set(System::String ^ value); };
public string CommandArgument { get; set; }
member this.CommandArgument : string with get, set
Public Property CommandArgument As String

Property Value

The argument 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