Class SortViewState
Inheritance
System.Object
SortViewState
Implements
System.Runtime.Serialization.ISerializable
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.Controls
Assembly: Mediachase.WebConsoleLib.dll
Version: 10.8.0Syntax
public class SortViewState : ISerializable
Constructors
SortViewState(SerializationInfo, StreamingContext)
Initializes a new instance of the CMPageSettings class.
Declaration
protected SortViewState(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
SortViewState(String, SortDirection)
Initializes a new instance of the SortViewState class.
Declaration
public SortViewState(string sortExpression, SortDirection sortDirection)
Parameters
Type | Name | Description |
---|---|---|
System.String | sortExpression | The sort expression. |
System.Web.UI.WebControls.SortDirection | sortDirection | The sort direction. |
Properties
SortDirection
Gets or sets the sort direction.
Declaration
public SortDirection SortDirection { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.WebControls.SortDirection | The sort direction. |
SortExpression
Gets or sets the sort expression.
Declaration
public string SortExpression { get; set; }
Property Value
Type | Description |
---|---|
System.String | The sort expression. |
Methods
GetImageUrl(EcfListView)
Gets the image URL.
Declaration
public string GetImageUrl(EcfListView grid)
Parameters
Type | Name | Description |
---|---|---|
EcfListView | grid | The grid. |
Returns
Type | Description |
---|---|
System.String |
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Implements
System.Runtime.Serialization.ISerializable