Class GridGroupHeaderRowElement
This is the visual element responsible for presenting group headers
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridGroupHeaderRowElement : GridRowElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider, IVirtualizedElement<GridViewRowInfo>
Constructors
GridGroupHeaderRowElement()
Declaration
public GridGroupHeaderRowElement()
Fields
ContainsGroupsProperty
IsExpandedProperty
Properties
CanApplyFormatting
Gets a value indicating that conditional formatting can be applied
Declaration
public override bool CanApplyFormatting { get; }
Property Value
|
System.Boolean
|
Overrides
ContainsGroups
Gets or sets a value indicating whether the row is selected.
Declaration
public virtual bool ContainsGroups { get; }
Property Value
|
System.Boolean
|
ContentCell
Gets the content cell.
Declaration
public GridGroupContentCellElement ContentCell { get; }
Property Value
|
GridGroupContentCellElement
The content cell. |
ExpanderCell
Gets the expander cell.
Declaration
public GridGroupExpanderCellElement ExpanderCell { get; }
Property Value
|
GridGroupExpanderCellElement
The expander cell. |
IsExpanded
Gets or sets a value indicating whether the row is selected.
Declaration
public virtual bool IsExpanded { get; }
Property Value
|
System.Boolean
|
Methods
ArrangeOverride(SizeF)
Arranges the elements in the available size.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
|
System.Drawing.SizeF
finalSize
The final size. |
Returns
|
System.Drawing.SizeF
|
Overrides
Attach(GridViewRowInfo, Object)
Declaration
public override void Attach(GridViewRowInfo row, object context)
Parameters
|
GridViewRowInfo
row
|
|
System.Object
context
|
Overrides
Detach()
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
|
GridViewColumn
column
The GridViewColumn that contains the settings. |
Returns
|
System.Type
An column type. |
Overrides
Initialize(GridViewRowInfo)
Initializes the row.
Declaration
public override void Initialize(GridViewRowInfo rowInfo)
Parameters
|
GridViewRowInfo
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
|
GridViewRowInfo
data
The data. |
|
System.Object
context
The context. |
Returns
|
System.Boolean
|
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
|
System.Drawing.SizeF
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element) |
Returns
|
System.Drawing.SizeF
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
|
System.Drawing.Point
dropLocation
The drop location. |
|
ISupportDrag
dragObject
The drag object. |
Overrides
ProcessDragOver(Point, ISupportDrag)
Processes the drag over.
Declaration
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
|
System.Drawing.Point
currentMouseLocation
The current mouse location. |
|
ISupportDrag
dragObject
The drag object. |
Returns
|
System.Boolean
|
Overrides
ShouldUsePaintBuffer()
Returns whether to use the paint buffer.
Declaration
protected override bool ShouldUsePaintBuffer()
Returns
|
System.Boolean
|
Overrides
UpdateContent()
Updates cell content.
Declaration
public override void UpdateContent()