API Reference
Interface
ICompactWidget
A widget with a minimum size and a compact rendering used when the screen is smaller: live sessions render the compact form instead of squeezing the full layout into garbage (for example a dashboard shows a one-line status and only its highest-priority widgets).
Methods
public abstract Void RenderCompact(Region region, RenderContext context) #Returns:
VoidRenders the compact form into a region smaller than ICompactWidget.MinimumSize.
Parameters
- region ConsoleMonster.Canvas.Region
- The region (possibly tiny or empty).
- context ConsoleMonster.Canvas.RenderContext
- The render context.
Properties
public abstract Size MinimumSize { get; } #The smallest size the full layout needs.