Class 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.
Inherited Members
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewGroupRow : BaseItemsControl, ISelectorInternal, INotifyPropertyChanged, IGeneratorHost, IGroupsProvider, IGroupRow, GridViewVirtualizingPanel.IProvideStackingSize, ILayoutObserver, IScrollContentElement, IRegisterBinding
Constructors
GridViewGroupRow()
Fields
AggregateResultsProperty
Identifies the AggregateResults dependency property.
Declaration
public static readonly DependencyProperty AggregateResultsProperty
Field Value
System.Windows.DependencyProperty
|
GroupHeaderTemplateProperty
Identifies the GroupHeaderTemplate dependency property.
Declaration
public static readonly DependencyProperty GroupHeaderTemplateProperty
Field Value
System.Windows.DependencyProperty
|
GroupViewModelProperty
Identifies the GroupViewModel property .
Declaration
public static readonly DependencyProperty GroupViewModelProperty
Field Value
System.Windows.DependencyProperty
The identifier for the GroupViewModel property. |
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
System.Windows.DependencyProperty
|
IndentBackgroundProperty
Identifies the IndentBackground dependency property.
Declaration
public static readonly DependencyProperty IndentBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
IsExpandedProperty
Identifies the IsExpanded dependency property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.Windows.DependencyProperty
|
LevelProperty
Identifies the Level dependency property.
Declaration
public static readonly DependencyProperty LevelProperty
Field Value
System.Windows.DependencyProperty
|
RowIndicatorVisibilityProperty
Identifies the RowIndicatorVisibility dependency property.
Declaration
public static readonly DependencyProperty RowIndicatorVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
ShowHeaderAggregatesProperty
Identifies the ShowHeaderAggregates dependency property.
Declaration
public static readonly DependencyProperty ShowHeaderAggregatesProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AggregateResults
Gets the aggregate results.
Declaration
public AggregateResultCollection AggregateResults { get; }
Property Value
AggregateResultCollection
The aggregate results. |
Implements
Group
Gets the associated IGroup object.
Declaration
public IGroup Group { get; }
Property Value
IGroup
The associated IGroup. The default value is null |
Implements
GroupHeaderTemplate
Gets or sets the template for the group headers.
Declaration
public DataTemplate GroupHeaderTemplate { get; set; }
Property Value
System.Windows.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
GroupViewModel
The default value is null. |
Header
Gets or sets the header content of the group.
Declaration
public object Header { get; set; }
Property Value
System.Object
The header. |
Implements
HeaderHeight
Gets the height of the header.
Declaration
public double HeaderHeight { get; }
Property Value
System.Double
The height of the header. |
IndentBackground
Gets or sets the Background of the Indent cell.
Declaration
public Brush IndentBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
IsExpanded
Gets or sets a value indicating whether the group is expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
System.Boolean
|
Implements
Level
Gets the level of this group row. This is a dependency property.
Declaration
public int Level { get; }
Property Value
System.Int32
|
Implements
RowIndicatorVisibility
Gets or sets the row indicator visibility.
Declaration
public Visibility RowIndicatorVisibility { get; set; }
Property Value
System.Windows.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
System.Boolean
|
Overrides
ShowHeaderAggregates
Gets or sets value indicator if header aggregates are visible or not.
Declaration
public bool ShowHeaderAggregates { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
|
Returns
System.Windows.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
System.Object
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
System.Windows.DependencyObject
element
The container element. |
System.Object
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
System.Windows.DependencyObject
element
The container element. |
System.Object
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
System.Object
item
|
Returns
System.Windows.DependencyObject
The element that is used to display the given item. |
Overrides
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
|
Returns
System.Windows.Size
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnItemsSourceChanged(Object, Object)
Called when ItemsSource property has changed.
Declaration
protected override void OnItemsSourceChanged(object oldValue, object newValue)
Parameters
System.Object
oldValue
The old value. |
System.Object
newValue
The new value. |
Overrides
PrepareContainerForGroupItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForGroupItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|
Overrides
SetIsCurrent(Object, Boolean)
Sets the current state for a container that wraps a given data item.
Declaration
protected override void SetIsCurrent(object item, bool isCurrent)
Parameters
System.Object
item
The data item. |
System.Boolean
isCurrent
If set to |
Overrides
SetIsSelected(Object, Boolean)
Sets the selection state for a container that wraps a given data item.
Declaration
protected override void SetIsSelected(object item, bool isSelected)
Parameters
System.Object
item
The data item. |
System.Boolean
isSelected
If set to |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|