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

Used for Name values of IGroups that are grouping in ranges by numeric values. The DoubleGroup contains the items with double values in range from Start to End.

Definition

Namespace:Telerik.Pivot.Core.Groups

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public struct DoubleGroup : IEquatable<DoubleGroup>, IComparable<DoubleGroup>, IComparable

Implements: IComparableIComparable<DoubleGroup>IEquatable<DoubleGroup>

Constructors

Initializes a new instance of the DoubleGroup struct.

C#
public DoubleGroup(double start, double end)
Parameters:startdouble

The start value which this group represents.

enddouble

The end value which this group represents.

Properties

Gets the upper limit for values in this DoubleGroup.

C#
public double End { readonly get; set; }

Gets the lower limit for values in this DoubleGroup.

C#
public double Start { readonly get; set; }

Methods

C#
public int CompareTo(DoubleGroup other)
Parameters:otherDoubleGroupReturns:

int

Implements: IComparable<DoubleGroup>.CompareTo(DoubleGroup)

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

int

Implements: IComparable.CompareTo(object)

C#
public bool Equals(DoubleGroup other)
Parameters:otherDoubleGroupReturns:

bool

Implements: IEquatable<DoubleGroup>.Equals(DoubleGroup)

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

bool

Overrides: ValueType.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

C#
public override string ToString()
Returns:

string

Overrides: ValueType.ToString()

Operators

Determines whether two specified instances of DoubleGroup are not equal.

C#
public static bool operator !=(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left and right do not represent the same double group; otherwise, false.

Determines whether one specified DoubleGroup is less than another specified DoubleGroup.

C#
public static bool operator <(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left is less than right; otherwise, false.

Determines whether one specified DoubleGroup is less than or equal to another specified DoubleGroup.

C#
public static bool operator <=(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left is less than or equal to right; otherwise, false.

Determines whether two specified instances of DoubleGroup are equal.

C#
public static bool operator ==(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left and right represent the same double group; otherwise, false.

Determines whether one specified DoubleGroup is greater than another specified DoubleGroup.

C#
public static bool operator >(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left is greater than right; otherwise, false.

Determines whether one specified DoubleGroup is greater than or equal to another specified DoubleGroup.

C#
public static bool operator >=(DoubleGroup left, DoubleGroup right)
Parameters:leftDoubleGroup

The first object to compare.

rightDoubleGroup

The second object to compare.

Returns:

bool

true if left is greater than or equal to right; otherwise, false.