GridViewGroupRow
Represents a control used as a Group header, which is used to expand and collapse its associated rows and groups and display group specific information such as Aggregate functions, sort direction et cetera.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewGroupRow : BaseItemsControl, INotifyPropertyChanged, IGroupRow
Inheritance: objectDataControlBaseItemsControlGridViewGroupRow
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewGroupRow class.
public GridViewGroupRow()
Fields
AggregateResultsProperty
DependencyProperty
Identifies the AggregateResults dependency property.
public static readonly DependencyProperty AggregateResultsProperty
GroupHeaderTemplateProperty
DependencyProperty
Identifies the GroupHeaderTemplate dependency property.
public static readonly DependencyProperty GroupHeaderTemplateProperty
GroupViewModelProperty
DependencyProperty
Identifies the GroupViewModel property .
public static readonly DependencyProperty GroupViewModelProperty
The identifier for the GroupViewModel property.
HeaderProperty
DependencyProperty
Identifies the Header dependency property.
public static readonly DependencyProperty HeaderProperty
IndentBackgroundProperty
DependencyProperty
Identifies the IndentBackground dependency property.
public static readonly DependencyProperty IndentBackgroundProperty
IsExpandedProperty
DependencyProperty
Identifies the IsExpanded dependency property.
public static readonly DependencyProperty IsExpandedProperty
LevelProperty
DependencyProperty
Identifies the Level dependency property.
public static readonly DependencyProperty LevelProperty
RowIndicatorVisibilityProperty
DependencyProperty
Identifies the RowIndicatorVisibility dependency property.
public static readonly DependencyProperty RowIndicatorVisibilityProperty
ShowHeaderAggregatesProperty
DependencyProperty
Identifies the ShowHeaderAggregates dependency property.
public static readonly DependencyProperty ShowHeaderAggregatesProperty
Properties
Gets the aggregate results.
public AggregateResultCollection AggregateResults { get; }
The aggregate results.
Implements:
GroupHeaderTemplate
DataTemplate
Gets or sets the template for the group headers.
public DataTemplate GroupHeaderTemplate { get; set; }
The data template.
Gets or sets the GroupViewModel which provides info typically displayed within the group header. This is a dependency property.
public GroupViewModel GroupViewModel { get; set; }
The default value is null.
Gets or sets the header content of the group.
public object Header { get; set; }
The header.
Implements:
Gets the height of the header.
public double HeaderHeight { get; }
The height of the header.
IndentBackground
Brush
Gets or sets the Background of the Indent cell.
public Brush IndentBackground { get; set; }
Gets or sets a value indicating whether the group is expanded.
public bool IsExpanded { get; set; }
true if the group is expanded; otherwise, false.
Implements:
Gets the level of this group row. This is a dependency property.
public int Level { get; }
Implements:
RowIndicatorVisibility
Visibility
Gets or sets the row indicator visibility.
public Visibility RowIndicatorVisibility { get; set; }
The row indicator visibility.
Gets a value indicating whether this instance handles selection events and participates in the selection mechanism.
protected override bool ShouldHandleSelection { get; }
true if handles selection; otherwise, false.
Overrides:
Gets or sets value indicator if header aggregates are visible or not.
public bool ShowHeaderAggregates { get; set; }
Methods
protected override Size ArrangeOverride(Size finalSize)
Size
Brings the given item into view. This is not a recursive method, it will only work for immediate items. The method will not work before the item containers have been generated.
public void BringItemIntoView(object item)
The item to be brought into view.
When overridden in a derived class, undoes the effects of the PrepareContainerForGroupOverride method.
protected override void ClearContainerForGroupOverride(DependencyObject element, object item)
The container element.
itemobjectThe item.
Overrides:
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride method.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
The container element.
itemobjectThe item.
Overrides:
GetContainerForItemOverride(object)
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride(object item)
DependencyObject
The element that is used to display the given item.
Overrides:
protected override Size MeasureOverride(Size availableSize)
Size
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Prepares the specified element to display the specified item.
protected override void PrepareContainerForGroupItemOverride(DependencyObject element, object item)
Overrides:
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Overrides: