Skip to content
ConsoleMonster
Class

DocumentViewerInputOptionsFluent

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of DocumentViewerInputOptions, 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
  • DocumentViewerInputOptionsFluent

Methods

public static DocumentViewerInputOptions Disabled(DocumentViewerInputOptions documentViewerInputOptions, bool value = true) #

Sets AppInputOptions.Disabled: Disables editing and keyboard focus.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Disabled = value };    Ui.DocumentViewer().Disabled(value);
public static DocumentViewerInputOptions Height(DocumentViewerInputOptions documentViewerInputOptions, int value) #

Sets DocumentViewerInputOptions.Height: The natural content height in rows.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value int required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Height = value };    Ui.DocumentViewer().Height(value);
public static DocumentViewerInputOptions Key(DocumentViewerInputOptions documentViewerInputOptions, string value) #

Sets AppInputOptions.Key: The unique application-state key.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value string required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Key = value };    Ui.DocumentViewer().Key(value);
public static DocumentViewerInputOptions Label(DocumentViewerInputOptions documentViewerInputOptions, string? value) #

Sets AppInputOptions.Label: The visible label; null uses the key.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value string? required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Label = value };    Ui.DocumentViewer().Label(value);
public static DocumentViewerInputOptions Parts(DocumentViewerInputOptions documentViewerInputOptions, IEnumerable<DocumentViewerPart>? value) #

Sets DocumentViewerInputOptions.Parts: Named parts to show as tabs, in display order.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.DocumentViewerPart>? required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Parts = value };    Ui.DocumentViewer().Parts(value);
public static DocumentViewerInputOptions TabIndex(DocumentViewerInputOptions documentViewerInputOptions, int value) #

Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value int required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { TabIndex = value };    Ui.DocumentViewer().TabIndex(value);
public static DocumentViewerInputOptions ValidationMessage(DocumentViewerInputOptions documentViewerInputOptions, string? value) #

Sets AppInputOptions.ValidationMessage: Initial validation text.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value string? required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { ValidationMessage = value };    Ui.DocumentViewer().ValidationMessage(value);
public static DocumentViewerInputOptions WhenChanged(DocumentViewerInputOptions documentViewerInputOptions, EventHandler<AppValueChangedEventArgs>? value) #

Sets AppInputOptions.OnChange: Runs after a committed value change on the application input thread.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value System.EventHandler<ConsoleMonster.Interactive.AppValueChangedEventArgs>? required
The callback.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { OnChange = value };    Ui.DocumentViewer().WhenChanged(value);
public static DocumentViewerInputOptions Widget(DocumentViewerInputOptions documentViewerInputOptions, IWidget? value) #

Sets DocumentViewerInputOptions.Widget: A single widget to browse. Supply either Widget or Parts.

Parameters

documentViewerInputOptions ConsoleMonster.Interactive.DocumentViewerInputOptions required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

DocumentViewerInputOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Widget = value };    Ui.DocumentViewer().Widget(value);