Class
OutlineItem
ConsoleMonster.Interactive
One entry of an Outline: a title at a nesting level, and optionally the control it leads to.
Inheritance
- object
- OutlineItem
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method InteractiveFluent.Target
- Property Outline.Items
- Property OutlineInputOptions.Items
- Extension method OutlineItem.Target
Accepted by parameters 8
- Method InteractiveFluent.AddItem
- Method InteractiveFluent.AddItems
- Method InteractiveFluent.Target
- Extension method Outline.AddItem
- Extension method Outline.AddItems
- Extension method OutlineInputOptions.AddItem
- Extension method OutlineInputOptions.AddItems
- Extension method OutlineItem.Target
Constructors
public OutlineItem(string title, int level = 1) #Creates an entry.
Parameters
- title string
- The visible title.
- level int = 1
- The nesting level, one for the top; deeper entries are indented.
Inherited Methods
Properties
public InputControl? Target { get; set; } #The control the entry leads to, or null. Opening the entry focuses it, which scrolls a surrounding scroll view to it, and unfolds it when it is a Collapsible.
Extension Methods
public static OutlineItem Target(OutlineItem outlineItem, InputControl? value) #Sets OutlineItem.Target: The control the entry leads to, or null. Opening the entry focuses it, which scrolls a surrounding scroll view to it, and unfolds it when it is a Collapsible.
Parameters
- outlineItem ConsoleMonster.Interactive.OutlineItem
- The instance.
- value ConsoleMonster.Interactive.InputControl?
- The value.
Examples
// C# initializer or property // C# fluent
outlineItem.Target = value; outlineItem.Target(value);