ClassGridGroupHeaderRowElement
This is the visual element responsible for presenting group headers
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridGroupHeaderRowElement : GridRowElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewRowInfo>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementConditionalFormattableGridVisualElementGridRowElementGridGroupHeaderRowElement
Implements:
Inherited Members
Constructors
GridGroupHeaderRowElement()
Declaration
public GridGroupHeaderRowElement()
Fields
ContainsGroupsProperty
Declaration
public static RadProperty ContainsGroupsProperty
Field Value
Properties
CanApplyFormatting
Gets a value indicating that conditional formatting can be applied
Declaration
public override bool CanApplyFormatting { get; }
Property Value
Overrides
ContainsGroups
Gets or sets a value indicating whether the row is selected.
ContentCell
Gets the content cell.
Declaration
public GridGroupContentCellElement ContentCell { get; }
Property Value
The content cell.
ExpanderCell
Gets the expander cell.
Declaration
public GridGroupExpanderCellElement ExpanderCell { get; }
Property Value
The expander cell.
IsExpanded
Gets or sets a value indicating whether the row is selected.
Methods
ArrangeOverride(SizeF)
Arranges the elements in the available size.
Attach(GridViewRowInfo, object)
Attaches the specified data.
Declaration
public override void Attach(GridViewRowInfo row, object context)
Parameters
row
context
The context.
Overrides
Detach()
Detaches this instance.
Declaration
public override void Detach()
Overrides
GetCellType(GridViewColumn)
Returns the default cell type to be created based on the settings of the corresponding GridViewColumn.
Declaration
public override Type GetCellType(GridViewColumn column)
Parameters
column
The GridViewColumn that contains the settings.
Returns
An column type.
Overrides
Initialize(GridViewRowInfo)
Initializes the row.
Declaration
public override void Initialize(GridViewRowInfo rowInfo)
Parameters
rowInfo
The instance of GridViewRowInfo which the row is associated with.
Overrides
IsCompatible(GridViewRowInfo, object)
Determines whether element is compatible with the specified data.
Declaration
public override bool IsCompatible(GridViewRowInfo data, object context)
Parameters
data
The data.
context
The context.
Returns
true if the specified data is compatible; otherwise, false.
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
ProcessDragDrop(Point, ISupportDrag)
Processes the drag drop.
Declaration
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
dropLocation
The drop location.
dragObject
The drag object.
Overrides
ProcessDragOver(Point, ISupportDrag)
Processes the drag over.
Declaration
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
currentMouseLocation
The current mouse location.
dragObject
The drag object.
Returns
Overrides
ShouldUsePaintBuffer()
Returns whether to use the paint buffer.
UpdateContent()
Updates cell content.
Declaration
public override void UpdateContent()
Overrides