New to Telerik UI for WPFStart a free 30-day trial

A class that represents an olap group name.

Definition

Namespace:Telerik.Pivot.Core.Olap

Assembly:Telerik.Pivot.Core.dll

Syntax:

C#
[DataContract]
public class OlapGroupName : IComparable

Inheritance: objectOlapGroupName

Implements: IComparable

Constructors

Initializes a new instance of the OlapGroupName class by provided caption and a group key object.

C#
public OlapGroupName(string groupCaption, object groupKey)
Parameters:groupCaptionstring

The group caption used to display the group in UI. Sets the GroupCaption property.

groupKeyobject

The group key used to identify and compare the group with other groups. Sets the GroupKey property.

Initializes a new instance of the OlapGroupName class by provided group name.

C#
public OlapGroupName(string groupName)
Parameters:groupNamestring

The group caption used to display the group in UI and compare the group with other groups. Sets the GroupCaption and GroupKey properties.

Properties

Gets or sets the GroupCaption. Use setter only on groups created by you.

C#
[DataMember]
public string GroupCaption { get; set; }

Gets or sets the GroupCaption. Use setter only on groups created by you.

C#
[DataMember]
public object GroupKey { get; set; }

Gets the keys based on which Sorting is applied.

C#
[DataMember]
public Collection<string> SortKeys { get; }

Methods

C#
public int CompareTo(object obj)
Parameters:objobjectReturns:

int

Implements: IComparable.CompareTo(object)

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: object.ToString()