Skip to content
ConsoleMonster

API Reference

Interface

ICompactWidget

Namespace ConsoleMonster.Layout
Assembly ConsoleMonster
Implements
Modifiers abstract

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: Void

Renders the compact form into a region smaller than ICompactWidget.MinimumSize.

Parameters

region ConsoleMonster.Canvas.Region requiredposition: 0
The region (possibly tiny or empty).
context ConsoleMonster.Canvas.RenderContext requiredposition: 1
The render context.

Properties

public abstract Size MinimumSize { get; } #

The smallest size the full layout needs.