Class ViewColumn
Inheritance
System.Object
ViewColumn
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.Web.Console.Config
Assembly: Mediachase.WebConsoleLib.dll
Version: 10.8.0Syntax
public class ViewColumn
Fields
p_HeadingTextAttributeName
Declaration
public static readonly string p_HeadingTextAttributeName
Field Value
Type | Description |
---|---|
System.String |
Properties
Actions
Declaration
public IList<ViewColumnAction> Actions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ViewColumnAction> |
AllowSorting
Gets the AllowSorting.
Declaration
public bool AllowSorting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The AllowSorting. |
Attributes
Gets or sets the attributes.
Declaration
public Hashtable Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Hashtable | The attributes. |
ColumnIndex
Declaration
public int ColumnIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ColumnType
Gets or sets ColumnType.
Declaration
public ColumnType ColumnType { get; set; }
Property Value
Type | Description |
---|---|
ColumnType |
ColumnVisibleIndex
Declaration
public int ColumnVisibleIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DataField
Gets the data field.
Declaration
public string DataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data field. |
FormatString
Gets the string for formatting column's value. Used only for columns of type Text/None.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FormatString. |
HeadingText
Gets the HeadingText.
Declaration
public string HeadingText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The HeadingText. |
Resizable
Gets the Resizable. Returns true if value is not set.
Declaration
public bool Resizable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The Resizable. |
Template
Gets or sets the template.
Declaration
public ViewColumnTemplate Template { get; set; }
Property Value
Type | Description |
---|---|
ViewColumnTemplate | The template. |
Visible
Gets or sets a value indicating whether this instance is Visible.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Width
Gets the Width.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Width. |
Methods
GetColumnUniqueId()
Declaration
public string GetColumnUniqueId()
Returns
Type | Description |
---|---|
System.String |
GetLocalizedHeadingString()
Declaration
public string GetLocalizedHeadingString()
Returns
Type | Description |
---|---|
System.String |
GetSortExpression()
Returns string specified in SortExpression attribute. If attribute is not set, DataField attribute's value is returned.
Declaration
public string GetSortExpression()
Returns
Type | Description |
---|---|
System.String |