Represents the header element of a task board column that displays title, subtitle, and provides collapse/expand functionality with mouse interaction support for horizontal scrolling.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskBoardColumnHeaderElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTaskBoardColumnHeaderElement...
Implements:
Inherited Members
Constructors
public RadTaskBoardColumnHeaderElement()
Fields
public static RadProperty IsCollapsedProperty
public static RadProperty IsHighlightedProperty
Properties
Gets the button element that allows users to collapse or expand the column to optimize screen space usage.
public virtual RadCollapseButtonElement CollapseButton { get; }
Gets or sets a value indicating whether the column header is in collapsed state, affecting layout and visual presentation.
protected virtual bool IsCollapsed { get; set; }
Gets or sets a value indicating whether the header is visually highlighted. Setting this value unbinds the property from the DefaultIsHeaderHighlighted property. Use ResetIsHighlighted() to restore binding.
public bool IsHighlighted { get; set; }
Gets or sets the secondary subtitle text displayed below the main title for additional context information.
protected virtual string Subtitle { get; set; }
Gets the visual element that displays the secondary subtitle text below the main title.
public virtual LightVisualElement SubTitleElement { get; }
Gets or sets the main title text displayed prominently in the column header.
protected virtual string Title { get; set; }
Gets the visual element that displays the main title text of the column header.
public virtual LightVisualElement TitleElement { get; }
Methods
Arranges the header's child elements within the final allocated space, positioning title, subtitle, and collapse button according to the current collapsed state.
Creates and configures the child elements including title, subtitle, and collapse button with their styling and event handlers.
protected override void CreateChildElements()
Overrides:
Creates and returns a new collapse button element. Override this method to provide custom collapse button functionality.
protected virtual RadCollapseButtonElement CreateCollapseButton()
A new instance of RadCollapseButtonElement.
Initializes the header element's properties including mouse input handling and drag-drop support.
protected override void InitializeFields()
Overrides:
Measures the desired size of the header element, handling both collapsed and expanded layout states with proper element sizing.
Handles mouse down events, enabling capture mode and initiating horizontal scroll service tracking.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments containing button and position information.
Overrides:
Handles mouse move events, updating the scroll service with current mouse position for horizontal scrolling support.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments containing position information.
Overrides:
Handles mouse up events, completing scroll service tracking and releasing capture mode.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments containing button and position information.
Overrides:
Resets the IsHighlighted property to its default value and restores binding to the task board's default setting.
public void ResetIsHighlighted()