Click or drag to resize
GroupDescriptorTElement, TKey, TSortingKey Class
Allows grouping by a lambda expression.
Inheritance Hierarchy

Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data (in Telerik.Windows.Data.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class GroupDescriptor<TElement, TKey, TSortingKey> : AggregatedGroupDescriptorBase

Type Parameters

TElement
TKey
TSortingKey

The GroupDescriptorTElement, TKey, TSortingKey type exposes the following members.

Constructors
Methods
  NameDescription
Protected methodCreateGroupKeyExpression(ParameterExpression)
Creates a group expression that returns the grouping key for each item in a collection.
(Overrides GroupDescriptorBaseCreateGroupKeyExpression(ParameterExpression).)
Public methodCreateGroupKeyExpression(Expression)
Creates a group expression by delegating its creation to CreateGroupKeyExpression(ParameterExpression), if itemExpression is ParameterExpression, otherwise throws ArgumentException
(Inherited from GroupDescriptorBase.)
Public methodCreateGroupSortExpression
Creates sorting key expression that sorts the groups created from this descriptor using the group's key.
(Overrides GroupDescriptorBaseCreateGroupSortExpression(Expression).)
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Freezable derived class.
(Inherited from InheritanceContextPropagator.)
Public methodCycleSortDirection
Changes the SortDescriptor to the next logical value.
(Inherited from GroupDescriptorBase.)
Protected methodFreezeCore
Makes the Freezable object unmodifiable or tests whether it can be made unmodifiable.
(Inherited from InheritanceContextPropagator.)
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
(Inherited from DescriptorBase.)
Protected methodOnPropertyChanged(String)
Calls OnPropertyChanged(PropertyChangedEventArgs) creating a new instance of PropertyChangedEventArgs with given propertyName.
(Inherited from DescriptorBase.)
Public methodResumeNotifications
Resumes the notifications.
(Inherited from DescriptorBase.)
Public methodSuspendNotifications
Suspends the notifications.
(Inherited from DescriptorBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberGroupingExpressionProperty
Identifies the GroupingExpression dependency property.
Public fieldStatic memberGroupSortingExpressionProperty
Identifies the GroupSortingExpression dependency property.
Top
Properties
  NameDescription
Public propertyAggregateFunctions
Gets the aggregate functions collection used when grouping is executed. This is a dependency property.
(Inherited from AggregatedGroupDescriptorBase.)
Public propertyDisplayContent
Gets or sets the content which will be used to visually represent this descriptor.
(Inherited from GroupDescriptorBase.)
Public propertyGroupingExpression
Gets or sets the grouping predicate.
Public propertyGroupSortingExpression
Gets or sets the grouping and sorting predicate.
Public propertyNotificationsSuspended
Gets or sets a value indicating whether change notifications are suspended.
(Inherited from DescriptorBase.)
Public propertySortDirection
Gets or sets the sort direction for this descriptor. If the value is null no sorting will be applied.
(Inherited from GroupDescriptorBase.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property changes.
(Inherited from DescriptorBase.)
Top
See Also