SaaS CMS has officially launched! Learn more now.

Class XmlCommand

Inheritance
System.Object
XmlCommand
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: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public class XmlCommand

Constructors

XmlCommand(String, XmlCommandType, String, String, String, String, String, String, Boolean, Boolean, Boolean, String, String, String, String, String, String, String, String, String, String, Dictionary<String, String>, Dictionary<String, String>, Boolean)

Declaration
public XmlCommand(string commandName, XmlCommandType commandType, string url, string confirmationText, string width, string height, string left, string top, bool scroll, bool resize, bool drag, string popupTitle, string refreshMethod, string handler, string enableHandler, string updatePanelIds, string clientScript, string target, string beforeClientScript, string sParams, string dependCommand, Dictionary<string, string> handlerParams, Dictionary<string, string> enableHandlerParams, bool autoHeightResize)
Parameters
Type Name Description
System.String commandName
XmlCommandType commandType
System.String url
System.String confirmationText
System.String width
System.String height
System.String left
System.String top
System.Boolean scroll
System.Boolean resize
System.Boolean drag
System.String popupTitle
System.String refreshMethod
System.String handler
System.String enableHandler
System.String updatePanelIds
System.String clientScript
System.String target
System.String beforeClientScript
System.String sParams
System.String dependCommand
System.Collections.Generic.Dictionary<System.String, System.String> handlerParams
System.Collections.Generic.Dictionary<System.String, System.String> enableHandlerParams
System.Boolean autoHeightResize

Properties

AutoHeightResize

Gets or sets the auto height resize.

Declaration
public bool AutoHeightResize { get; set; }
Property Value
Type Description
System.Boolean

The auto height resize.

BeforeClientScript

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

ClientScript

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

CommandName

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

CommandType

Declaration
public XmlCommandType CommandType { get; set; }
Property Value
Type Description
XmlCommandType

ConfirmationText

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

DependCommand

Gets or sets the depend command.

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

The depend command.

Drag

Declaration
public bool Drag { get; set; }
Property Value
Type Description
System.Boolean

EnableHandler

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

EnableHandlerParameters

Gets or sets the parameters.

Declaration
public Dictionary<string, string> EnableHandlerParameters { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

The parameters.

Handler

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

HandlerParameters

Gets or sets the parameters.

Declaration
public Dictionary<string, string> HandlerParameters { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

The parameters.

Height

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

Left

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

Params

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

PopupTitle

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

RefreshMethod

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

Resize

Declaration
public bool Resize { get; set; }
Property Value
Type Description
System.Boolean

Scroll

Declaration
public bool Scroll { get; set; }
Property Value
Type Description
System.Boolean

Target

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

Top

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

UpdatePanelIds

Declaration
public IList<string> UpdatePanelIds { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Url

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

Width

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

Methods

ClearCache()

Declaration
public static void ClearCache()

GetCommandByName(IList<XmlCommand>, String)

Declaration
public static XmlCommand GetCommandByName(IList<XmlCommand> commands, string commandName)
Parameters
Type Name Description
System.Collections.Generic.IList<XmlCommand> commands
System.String commandName
Returns
Type Description
XmlCommand

GetCommandByName(String, String, String, String)

Declaration
public static XmlCommand GetCommandByName(string className, string viewName, string placeName, string commandName)
Parameters
Type Name Description
System.String className
System.String viewName
System.String placeName
System.String commandName
Returns
Type Description
XmlCommand

GetListCommands(String, String, String)

Declaration
public static IList<XmlCommand> GetListCommands(string className, string viewName, string placeName)
Parameters
Type Name Description
System.String className
System.String viewName
System.String placeName
Returns
Type Description
System.Collections.Generic.IList<XmlCommand>

GetListNavigationCommands(String, String, String)

Declaration
public static IList<XmlCommand> GetListNavigationCommands(string className, string viewName, string placeName)
Parameters
Type Name Description
System.String className
System.String viewName
System.String placeName
Returns
Type Description
System.Collections.Generic.IList<XmlCommand>