Displays a Details-view column header and handles its sorting indicator, resizing, reordering, and gestures.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DetailListViewHeaderCellElement : DetailListViewCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<ListViewDetailColumn>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementDetailListViewCellElementDetailListViewHeaderCellElement...
Implements:
Inherited Members
Constructors
Creates a header cell for the specified details-view column.
public DetailListViewHeaderCellElement(ListViewDetailColumn column)
The column represented by the header cell.
Fields
The arrow primitive used to indicate the column's sort direction.
protected ArrowPrimitive arrow
Methods
Starts a column drag operation when column reordering is enabled.
protected virtual void BeginDragDrop()
Begins resizing the associated column at the specified pointer position.
public virtual void BeginResize(Point mousePosition)
The pointer position used to begin resizing.
Adds the sort-direction arrow to the header cell.
protected override void CreateChildElements()
Overrides:
Determines whether a point lies within a 4-pixel resizable edge zone of this header cell. The left edge is resizable only when this is not the first header cell.
Measures the header at the column width and at least the list view's header height, unless column width is ignored.
Ends editing and best-fits the adjacent or current column when the header edge is double-clicked.
protected override void OnDoubleClick(EventArgs e)
The double-click event data.
Overrides:
Ends editing, then begins resizing at an edge or starts a reorder drag from a left-button press.
protected override void OnMouseDown(MouseEventArgs e)
The mouse-button event data.
Overrides:
Clears the pressed state when the pointer leaves the header cell.
protected override void OnMouseLeave(EventArgs e)
The mouse event data.
Overrides:
Routes pan gestures to the column drag service, except when no drag is active and the gesture point is on a resize edge.
protected override void OnPanGesture(PanGestureEventArgs args)
The pan gesture data.
Overrides:
Scales the column width by the zoom factor and marks the gesture handled.
protected override void OnZoomGesture(ZoomGestureEventArgs args)
The zoom gesture data.
Overrides:
Accepts a drag-over only when the owning list view allows column reordering.
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
The pointer position relative to the header cell.
dragObjectISupportDragThe object being dragged.
Returns:Overrides:
Updates the sort arrow from the column's sort descriptor, then synchronizes the base header content.
public override void Synchronize()
Overrides: