Struct TabLayoutContext
Parameters passed from BorderView to an ITitleView during layout. Captures the border/tab state that the title view cannot derive from its own stored properties.
public readonly struct TabLayoutContext : IEquatable<TabLayoutContext>
- Implements
- Inherited Members
Properties
- BorderBounds
Gets the content border rectangle in screen coordinates.
- HasFocus
Gets whether this tab is focused or is the last tab (open-gap state).
- ScreenOrigin
Gets the screen origin of the owning BorderView's viewport, used for coordinate conversion.
- TabLengthOverride
Gets an explicit tab length override, or null to auto-size from the title text. When set, the title view uses this length instead of auto-sizing.
- TabOffset
Gets the tab offset along the tab side (in cells from the content border origin).
- Title
Gets the title text to display in the header.