Interface IColumnGridOwner
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
The contract a control must satisfy to OWN ColumnContainer children (a horizontal grid strip). ColumnContainer uses only the owner's foreground color, its container back-link, its invalidation entry, and its identity — never any HGC-specific member. Implemented by both HorizontalGridControl and (later) HorizontalGridControl so a column can be hosted by either.
public interface IColumnGridOwner : IWindowControl, IDisposable
- Inherited Members
- Extension Methods
Properties
Columns
Gets the owning grid's columns. Lets framework walks that need to descend into a column-grid's columns (nested-control position/containment) treat any column-grid owner uniformly, instead of type-checking the concrete HorizontalGridControl.
List<ColumnContainer> Columns { get; }
Property Value
ForegroundColor
Gets the foreground color the owning grid contributes to its columns' color-resolution chain. Nullable so an owner may defer to its own container/theme (matches ForegroundColor).
Color? ForegroundColor { get; }