Class McToolbarItem

Inheritance
System.Object
McToolbarItem
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: 10.8.0
Syntax
public class McToolbarItem

Constructors

McToolbarItem()

Declaration
public McToolbarItem()

McToolbarItem(McToolbarItemType)

Declaration
public McToolbarItem(McToolbarItemType ItemType)
Parameters
Type Name Description
McToolbarItemType ItemType

McToolbarItem(String)

Declaration
public McToolbarItem(string Text)
Parameters
Type Name Description
System.String Text

McToolbarItem(String, McToolbarItemType)

Declaration
public McToolbarItem(string Text, McToolbarItemType ItemType)
Parameters
Type Name Description
System.String Text
McToolbarItemType ItemType

McToolbarItem(String, McToolbarItemType, String)

Declaration
public McToolbarItem(string Text, McToolbarItemType ItemType, string ImageUrl)
Parameters
Type Name Description
System.String Text
McToolbarItemType ItemType
System.String ImageUrl

Properties

CssClass

Gets or sets the CSS class.

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

The CSS class.

Handler

Gets or sets the handler.

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

The handler.

Id

Gets or sets the id.

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

The id.

ImageUrl

Gets or sets the image URL.

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

The image URL.

ItemAlign

Declaration
public McToolbarItemAlign ItemAlign { get; set; }
Property Value
Type Description
McToolbarItemAlign

Items

Gets or sets the items.

Declaration
public List<McToolbarItem> Items { get; }
Property Value
Type Description
System.Collections.Generic.List<McToolbarItem>

The items.

ItemType

Gets or sets the type of the item.

Declaration
public McToolbarItemType ItemType { get; set; }
Property Value
Type Description
McToolbarItemType

The type of the item.

Params

Gets or sets the params. Additional params for CommandManager (CommandName, GridId, etc.)

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

The params.

Text

Gets or sets the text.

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

The text.

Tooltip

Gets or sets the tooltip.

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

The tooltip.

Methods

ConvertToJson(List<McToolbarItem>)

Converts to json.

Declaration
public static string ConvertToJson(List<McToolbarItem> items)
Parameters
Type Name Description
System.Collections.Generic.List<McToolbarItem> items

The items.

Returns
Type Description
System.String