Class SortElement
Represents the information needed for sort element.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Olap.Reports
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class SortElement : Element, ICloneable<Element>, ICloneable<SortElement>
Constructors
SortElement()
Initializes a new instance of the SortElement class.
Declaration
public SortElement()
SortElement(AxisPosition, SortOrder, Boolean)
Initializes a new instance of the SortElement class.
Declaration
public SortElement(AxisPosition axis, SortOrder orderBy, bool isSortOn)
Parameters
Type | Name | Description |
---|---|---|
AxisPosition | axis | The axis. |
SortOrder | orderBy | The order by. |
System.Boolean | isSortOn | if set to |
Properties
Axis
Gets or sets the axis position.
Declaration
public AxisPosition Axis { get; set; }
Property Value
Type | Description |
---|---|
AxisPosition | The axis position. |
Element
Gets or sets the measure element.
Declaration
public MeasureElement Element { get; set; }
Property Value
Type | Description |
---|---|
MeasureElement | The measure element. |
IsSortOn
Gets or sets a value indicating to enable sorting.
Declaration
public bool IsSortOn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SortOrder
Gets or sets the sorting order.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder | The sorting order. |
Methods
Clone()
Clones this instance.
Declaration
public SortElement Clone()
Returns
Type | Description |
---|---|
SortElement | A copy of this instance. |