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

Used for numeric values to group items, provide well known groups, sort and filter the groups.

Definition

Constructors

Initializes a new instance of the DoubleGroupDescription class.

C#
public DoubleGroupDescription()

Properties

Gets or sets the size of the generated DoubleGroups.

C#
[DataMember]
public double Step { get; set; }

Methods

Makes the instance a clone (deep copy) of the specified Cloneable.

C#
protected override void CloneOverride(Cloneable source)
Parameters:sourceCloneable

The object to clone.

Overrides: PropertyGroupDescriptionBase.CloneOverride(Cloneable)

Remarks:

Notes to Inheritors If you derive from Cloneable, you need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

When implemented in a derived class, creates a new instance of the Cloneable derived class.

C#
protected override Cloneable CreateInstanceCore()
Returns:

Cloneable

New instance for cloning.

Overrides: Cloneable.CreateInstanceCore()

Remarks:

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

Returns all possible group keys for this instance.

C#
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters:uniqueNamesIEnumerable<object>

Enumeration of all unique group keys that were discovered after grouping.

parentGroupNamesIEnumerable<object>

Enumeration of all parent groups.

Returns:

IEnumerable<object>

Returns all possible group keys for this instance.

Overrides: PropertyGroupDescriptionBase.GetAllNames(IEnumerable<object>, IEnumerable<object>)

Names a group that would contain the item. DoubleGroup.

C#
protected override object GroupNameFromItem(object item, int level)
Parameters:itemobject

The item to group.

levelint

The level of grouping for this GroupDescription.

Returns:

object

A DoubleGroup name for the group that would contain the item.

Overrides: PropertyGroupDescriptionBase.GroupNameFromItem(object, int)