Table of Contents

Class InlineDialogWidget

Namespace
ItTiger.TigerCli.Tui.Abstractions
Assembly
ItTiger.TigerCli.dll
Describes one top-level widget/area an inline control exposes to its hosting InlineDialog. A control may expose a single widget (the common case, preserving the legacy single-content behavior) or several, each placed into a fixed InlineDialogArea.
public sealed class InlineDialogWidget
Inheritance
InlineDialogWidget
Inherited Members

Remarks

This is layout/placement metadata only. Control-level concerns (content label, hint, payload, confirmability) stay on the control; this descriptor carries the per-widget geometry, decoration, scroll behavior, and rendered grid the dialog needs to place the widget.

Properties

Area

The fixed dialog area this widget is placed into.
public InlineDialogArea Area { get; init; }

Property Value

InlineDialogArea

ContentStyle

Optional style applied to the widget's host content cell.
public CliCellStyle? ContentStyle { get; init; }

Property Value

CliCellStyle

Decoration

Decoration flags (scrollbar / horizontal indicators) the dialog renders for this widget when focused.
public CliControlDecoration Decoration { get; init; }

Property Value

CliControlDecoration

Grid

The widget's rendered content subgrid.
public required CliGrid Grid { get; init; }

Property Value

CliGrid

IsFocused

Whether this widget is the focused/active one. The dialog drives the active scrollable cell, cursor, and scroll overlays from the focused widget so only it shows scroll indicators.
public bool IsFocused { get; init; }

Property Value

bool

ScrollMode

Scroll mode applied to the widget's host subgrid cell.
public CliScrollMode ScrollMode { get; init; }

Property Value

CliScrollMode

ThumbMode

Scrollbar/indicator thumb position source for the widget's host subgrid cell.
public CliScrollThumbMode ThumbMode { get; init; }

Property Value

CliScrollThumbMode