Gets or sets an optional parameter passed to the ItemClick and ItemSelected events of the component along with the associated CommandName.

Namespace:  C1.Web.UI.Controls.C1ToolBar
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute("")]
[C1CategoryAttribute("Category.Behavior")]
[LayoutAttribute(LayoutType.Behavior)]
[JsonAttribute(true, true, "")]
public virtual string CommandArgument { get; set; }
Visual Basic (Declaration)
<DefaultValueAttribute("")> _
<C1CategoryAttribute("Category.Behavior")> _
<LayoutAttribute(LayoutType.Behavior)> _
<JsonAttribute(True, True, "")> _
Public Overridable Property CommandArgument As String
	Get
	Set

Remarks

Use the CommandArgument property to specify a parameter that complements the CommandName property. The CommandArgument property complements the CommandName property by allowing you to provide additional information about the command to perform. For example, if you set the CommandName property to Sort and the CommandArgument property to Ascending, you specify a command to sort in ascending order.

See Also