Interface IDOMMeasurable
- Namespace
- SharpConsoleUI.Layout
- Assembly
- SharpConsoleUI.dll
Interface for controls that support native DOM-based measurement only. Controls implementing this interface provide optimized size calculation.
public interface IDOMMeasurable
- Extension Methods
Methods
MeasureDOM(LayoutConstraints)
Measures the control's desired size given the available constraints.
LayoutSize MeasureDOM(LayoutConstraints constraints)
Parameters
constraintsLayoutConstraintsThe layout constraints (min/max width/height).
Returns
- LayoutSize
The desired size of the control.