DocumentViewerInputOptionsFluent
ConsoleMonster.Interactive
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.DocumentViewerPart>?
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value string?
- The value.
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
- The instance.
- value System.EventHandler<ConsoleMonster.Interactive.AppValueChangedEventArgs>?
- The callback.
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
- The instance.
- value ConsoleMonster.Layout.IWidget?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DocumentViewerInputOptions { Widget = value }; Ui.DocumentViewer().Widget(value);