ClassGridViewGroupRow
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
GridViewGroupRow()
Initializes a new instance of the GridViewGroupRow class.
Declaration
public GridViewGroupRow()
Fields
AggregateResultsProperty
Identifies the AggregateResults dependency property.
Declaration
public static readonly DependencyProperty AggregateResultsProperty
Field Value
DependencyProperty
GroupHeaderTemplateProperty
Identifies the GroupHeaderTemplate dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderTemplateProperty
Field Value
DependencyProperty
GroupViewModelProperty
Identifies the GroupViewModel property .
Declaration
public static readonly DependencyProperty GroupViewModelProperty
Field Value
DependencyProperty
The identifier for the GroupViewModel property.
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
DependencyProperty
IndentBackgroundProperty
Identifies the IndentBackground dependency property.
Declaration
public static readonly DependencyProperty IndentBackgroundProperty
Field Value
DependencyProperty
IsExpandedProperty
Identifies the IsExpanded dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
DependencyProperty
LevelProperty
Identifies the Level dependency property.
Declaration
public static readonly DependencyProperty LevelProperty
Field Value
DependencyProperty
RowIndicatorVisibilityProperty
Identifies the RowIndicatorVisibility dependency property.
Declaration
public static readonly DependencyProperty RowIndicatorVisibilityProperty
Field Value
DependencyProperty
ShowHeaderAggregatesProperty
Identifies the ShowHeaderAggregates dependency property.
Declaration
public static readonly DependencyProperty ShowHeaderAggregatesProperty
Field Value
DependencyProperty
Properties
AggregateResults
Gets the aggregate results.
Declaration
public AggregateResultCollection AggregateResults { get; }
Property Value
The aggregate results.
Implements
GroupHeaderTemplate
Gets or sets the template for the group headers.
Declaration
public DataTemplate GroupHeaderTemplate { get; set; }
Property Value
DataTemplate
The data template.
GroupViewModel
Gets or sets the GroupViewModel which provides info typically displayed within the group header. This is a dependency property.
Declaration
public GroupViewModel GroupViewModel { get; set; }
Property Value
The default value is null.
Header
Gets or sets the header content of the group.
Declaration
public object Header { get; set; }
Property Value
The header.
Implements
HeaderHeight
Gets the height of the header.
Declaration
public double HeaderHeight { get; }
Property Value
The height of the header.
IndentBackground
Gets or sets the Background of the Indent cell.
Declaration
public Brush IndentBackground { get; set; }
Property Value
Brush
IsExpanded
Gets or sets a value indicating whether the group is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
true if the group is expanded; otherwise, false.
Implements
Level
Gets the level of this group row. This is a dependency property.
RowIndicatorVisibility
Gets or sets the row indicator visibility.
Declaration
public Visibility RowIndicatorVisibility { get; set; }
Property Value
Visibility
The row indicator visibility.
ShouldHandleSelection
Gets a value indicating whether this instance handles selection events and participates in the selection mechanism.
Declaration
protected override bool ShouldHandleSelection { get; }
Property Value
true if handles selection; otherwise, false.
Overrides
ShowHeaderAggregates
Gets or sets value indicator if header aggregates are visible or not.
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
Returns
Size
BringItemIntoView(object)
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.
Declaration
public void BringItemIntoView(object item)
Parameters
item
The item to be brought into view.
ClearContainerForGroupOverride(DependencyObject, object)
When overridden in a derived class, undoes the effects of the PrepareContainerForGroupOverride method.
Declaration
protected override void ClearContainerForGroupOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
The container element.
item
The item.
Overrides
ClearContainerForItemOverride(DependencyObject, object)
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
The container element.
item
The item.
Overrides
GetContainerForItemOverride(object)
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride(object item)
Parameters
item
Returns
DependencyObject
The element that is used to display the given item.
Overrides
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Returns
Size
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
OnItemsSourceChanged(object, object)
Called when ItemsSource property has changed.
PrepareContainerForGroupItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForGroupItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
Overrides
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
Overrides
SetIsCurrent(object, bool)
Sets the current state for a container that wraps a given data item.
SetIsSelected(object, bool)
Sets the selection state for a container that wraps a given data item.