Class LayoutAllocation
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Represents the allocated space for a control after layout calculation
public record LayoutAllocation : IEquatable<LayoutAllocation>
- Inheritance
-
LayoutAllocation
- Implements
- Inherited Members
Fields
Empty
Empty layout allocation with no allocated space.
public static readonly LayoutAllocation Empty
Field Value
Properties
AllocatedHeight
Height allocated to the control
public int AllocatedHeight { get; init; }
Property Value
AllocatedWidth
Width allocated to the control
public int AllocatedWidth { get; init; }
Property Value
IsBelowMinimum
True if the allocation is below the control's minimum requirements
public bool IsBelowMinimum { get; init; }
Property Value
UpdateTime
When this allocation was made
public DateTime UpdateTime { get; init; }