LogViewportFluent
ConsoleMonster.Interactive
The fluent methods of LogViewport, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- LogViewportFluent
Methods
public static LogViewport Capacity(LogViewport logViewport, int value) #Sets LogViewport.Capacity: Maximum retained entries.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.Capacity = value; logViewport.Capacity(value);public static LogViewport Disabled(LogViewport logViewport, bool value) #Sets InputControl.Disabled: Whether this control is excluded from input and focus traversal.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.Disabled = value; logViewport.Disabled(value);public static LogViewport Disabled(LogViewport logViewport) #Sets InputControl.Disabled to true.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance to configure.
public static LogViewport Height(LogViewport logViewport, int value) #Sets LogViewport.Height: Preferred visible content rows.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.Height = value; logViewport.Height(value);public static LogViewport HorizontalOffset(LogViewport logViewport, int value) #Sets LogViewport.HorizontalOffset: Horizontal scroll in display cells, bounded by the maximum retained message length.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.HorizontalOffset = value; logViewport.HorizontalOffset(value);public static LogViewport Label(LogViewport logViewport, string? value) #Sets InputControl.Label: The visible label, or null to use the name.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.Label = value; logViewport.Label(value);public static LogViewport ScrollOffset(LogViewport logViewport, int value) #Sets LogViewport.ScrollOffset: Rows skipped from the newest end; zero follows new output.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.ScrollOffset = value; logViewport.ScrollOffset(value);public static LogViewport ShowElapsed(LogViewport logViewport, bool value) #Sets LogViewport.ShowElapsed: Whether to show entry elapsed time.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.ShowElapsed = value; logViewport.ShowElapsed(value);public static LogViewport ShowElapsed(LogViewport logViewport) #Sets LogViewport.ShowElapsed to true.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance to configure.
public static LogViewport TabIndex(LogViewport logViewport, int value) #Sets InputControl.TabIndex: Focus order; equal values preserve declaration order.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.TabIndex = value; logViewport.TabIndex(value);public static LogViewport ValidationMessage(LogViewport logViewport, string? value) #Sets InputControl.ValidationMessage: The current validation message below the control, or null.
Parameters
- logViewport ConsoleMonster.Interactive.LogViewport
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
logViewport.ValidationMessage = value; logViewport.ValidationMessage(value);