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
public GridGroupHeaderRowElement()
Fields
Identifies whether the group row contains nested groups.
public static RadProperty ContainsGroupsProperty
Identifies whether the group row is expanded.
public static RadProperty IsExpandedProperty
Properties
Gets a value indicating that conditional formatting can be applied
public override bool CanApplyFormatting { get; }
Overrides:
Gets a value indicating whether the group row contains nested groups.
public virtual bool ContainsGroups { get; }
Gets the content cell.
public GridGroupContentCellElement ContentCell { get; }
The content cell.
Gets the expander cell.
public GridGroupExpanderCellElement ExpanderCell { get; }
The expander cell.
Gets a value indicating whether the group row is expanded.
public virtual bool IsExpanded { get; }
Methods
Associates the element with a group row and attaches its group-selection cells.
public override void Attach(GridViewRowInfo row, object context)
The group row associated with this element.
contextobjectThe context forwarded to the base attachment method.
Overrides:
Detaches this instance.
public override void Detach()
Overrides:
Returns the default cell type to be created based on the settings of the corresponding GridViewColumn.
public override Type GetCellType(GridViewColumn column)
The GridViewColumn that contains the settings.
Returns:An column type.
Overrides:
Initializes the row.
public override void Initialize(GridViewRowInfo rowInfo)
The instance of GridViewRowInfo which the row is associated with.
Overrides:
Determines whether element is compatible with the specified data.
public override bool IsCompatible(GridViewRowInfo data, object context)
The data.
contextobjectThe context.
Returns:true if the specified data is compatible; otherwise, false.
Overrides:
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(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:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Processes the drag drop.
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
The drop location.
dragObjectISupportDragThe drag object.
Overrides:
Processes the drag over.
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
The current mouse location.
dragObjectISupportDragThe drag object.
Returns:Overrides:
Returns whether to use the paint buffer.
Updates cell content.
public override void UpdateContent()
Overrides: