ColumnHeaderLayout class Core

The layout of the built-in column header, shared by everything that has to agree on it: the renderer that draws the header (IColumnHeaderChrome) and the hit test and hosts that map a press back to a caption button, a filter box or a caret position.

public static class ColumnHeaderLayout
Namespace
ArionUI.Presentation
Package
ArionUI.Presentation · dotnet add package ArionUI.Presentation --prerelease

Fields

FilterClearZone

public const double FilterClearZone = 16;

Width of the clear (×) button at the right of a filter box — drawn only while the column is filtered (text or value checklist).

FilterDropdownZone

public const double FilterDropdownZone = 16;

Width of the filter-dropdown (funnel) button INSIDE the filter box, at its right edge — shown only while the filter cell is hovered. This is the value-filter entry point when the filter row is on (it replaces the caption chevron there).

FilterOperatorZone

public const double FilterOperatorZone = 18;

Width of the operator button at the left of a filter box.

Properties

FilterBoxStyle

public static TextStyle FilterBoxStyle { get; }

Text style of the filter-row box — ONE definition shared by the renderer (drawing) and the host (click-to-caret mapping).

Methods

HeaderBand

public static LogRect HeaderBand(double columnLeft, double columnWidth, double captionHeight);

The caption band of a column header — the rect the buttons are laid out into. One definition for drawing and hit-testing (see HeaderButtons).