BreadcrumbFluent
ConsoleMonster.Interactive
The fluent methods of Breadcrumb, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- BreadcrumbFluent
Methods
public static Breadcrumb Ancestor(Breadcrumb breadcrumb, string item) #Adds an item to Breadcrumb.Ancestors: Segments shown before a followed outline's headings, such as the screen and tab names.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- item string
- The item.
public static Breadcrumb Ancestors(Breadcrumb breadcrumb, IEnumerable<string> items) #Adds items to Breadcrumb.Ancestors: Segments shown before a followed outline's headings, such as the screen and tab names.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static Breadcrumb Binding(Breadcrumb breadcrumb, KeyBinding item) #Adds an item to InputControl.Bindings: Keys that apply while this control has focus. They reach the control before its own keys (so Enter can open the selected row) and feed the app footer.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- item ConsoleMonster.Interactive.KeyBinding
- The item.
public static Breadcrumb Bindings(Breadcrumb breadcrumb, IEnumerable<KeyBinding> items) #Adds items to InputControl.Bindings: Keys that apply while this control has focus. They reach the control before its own keys (so Enter can open the selected row) and feed the app footer.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.KeyBinding>
- The items, in order.
public static Breadcrumb Disabled(Breadcrumb breadcrumb, bool value = true) #Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
breadcrumb.Disabled = value; breadcrumb.Disabled(value);public static Breadcrumb Label(Breadcrumb breadcrumb, string? value) #Sets InputControl.Label: The visible label, or null to use the name.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
breadcrumb.Label = value; breadcrumb.Label(value);public static Breadcrumb Outline(Breadcrumb breadcrumb, Outline? value) #Sets Breadcrumb.Outline: The outline whose current entry this breadcrumb shows, or null to show Breadcrumb.Segments.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- value ConsoleMonster.Interactive.Outline?
- The value.
Examples
// C# initializer or property // C# fluent
breadcrumb.Outline = value; breadcrumb.Outline(value);public static Breadcrumb Outline(Breadcrumb breadcrumb, Action<Outline> configure) #Configures Breadcrumb.Outline in place: The outline whose current entry this breadcrumb shows, or null to show Breadcrumb.Segments.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- configure System.Action<ConsoleMonster.Interactive.Outline>
- Configures the value.
public static Breadcrumb Segment(Breadcrumb breadcrumb, string item) #Adds an item to Breadcrumb.Segments: The segments shown when no outline is followed, outermost first.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- item string
- The item.
public static Breadcrumb Segments(Breadcrumb breadcrumb, IEnumerable<string> items) #Adds items to Breadcrumb.Segments: The segments shown when no outline is followed, outermost first.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static Breadcrumb TabIndex(Breadcrumb breadcrumb, int value) #Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
breadcrumb.TabIndex = value; breadcrumb.TabIndex(value);public static Breadcrumb ValidationMessage(Breadcrumb breadcrumb, string? value) #Sets InputControl.ValidationMessage: The current validation message below the control, or null.
Parameters
- breadcrumb ConsoleMonster.Interactive.Breadcrumb
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
breadcrumb.ValidationMessage = value; breadcrumb.ValidationMessage(value);