Try our conversational search powered by Generative AI!

Class CommandEvent

Inheritance
System.Object
CommandEvent
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.UI.ClientScript.Events
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class CommandEvent : EventBase

Constructors

CommandEvent(EventType, CommandEvent.CommandType)

Declaration
public CommandEvent(EventType eventType, CommandEvent.CommandType command)
Parameters
Type Name Description
EventType eventType
CommandEvent.CommandType command

CommandEvent(EventType, CommandEvent.CommandType, String)

Declaration
public CommandEvent(EventType eventType, CommandEvent.CommandType command, string url)
Parameters
Type Name Description
EventType eventType
CommandEvent.CommandType command
System.String url

CommandEvent(EventType, CommandEvent.CommandType, String, String)

Declaration
public CommandEvent(EventType eventType, CommandEvent.CommandType command, string url, string commandArgument)
Parameters
Type Name Description
EventType eventType
CommandEvent.CommandType command
System.String url
System.String commandArgument

CommandEvent(EventType, CommandEvent.CommandType, String, String, String)

Declaration
public CommandEvent(EventType eventType, CommandEvent.CommandType command, string url, string commandArgument, string commandNavArgument)
Parameters
Type Name Description
EventType eventType
CommandEvent.CommandType command
System.String url
System.String commandArgument
System.String commandNavArgument

Properties

Command

Declaration
public CommandEvent.CommandType Command { get; set; }
Property Value
Type Description
CommandEvent.CommandType

CommandArgument

Declaration
public string CommandArgument { get; set; }
Property Value
Type Description
System.String

NavigateArgument

Declaration
public string NavigateArgument { get; set; }
Property Value
Type Description
System.String

Url

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

Methods

AttachEvent(ScriptManager, String)

Declaration
public override void AttachEvent(ScriptManager scriptManager, string clientId)
Parameters
Type Name Description
ScriptManager scriptManager
System.String clientId
Overrides

Extension Methods