DockCommand
Represents a custom command item in a RadDock control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DockCommand
Inheritance: objectDockCommand
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the DockCommand class.
public DockCommand()
Properties
Gets or sets a value indicating whether a postback to the server automatically occurs when the user drags the RadDock control.
public virtual bool AutoPostBack { get; set; }
Specifies the name of the type of the client object, which will be instantiated when the command is initialized for the first time.
[ClientPropertyName("clientTypeName")]
public virtual string ClientTypeName { get; set; }
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Command item on the client.
public virtual string CssClass { get; set; }
Specifies the name of the command. The value of this property is used to determine on the server which command was clicked on the client.
public virtual string Name { get; set; }
Gets or sets the client-side script that executes when the Command event is raised on the client.
[ClientPropertyName("command")]
public virtual string OnClientCommand { get; set; }
Get ot set the the shortcut key that executes the command
[ClientPropertyName("shortCut")]
public virtual string ShortCut { get; set; }
Methods
Creates an HtmlAnchor control with applied CssClass and Title.