DocumentViewerInputOptions
ConsoleMonster.Interactive
Construction options for an embeddable document viewer.
Inheritance
- AppInputOptions
- DocumentViewerInputOptions
Usage
Explore 39 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 19
- Extension method DocumentViewerInputOptions.Disabled
- Extension method DocumentViewerInputOptions.Height
- Extension method DocumentViewerInputOptions.Key
- Extension method DocumentViewerInputOptions.Label
- Extension method DocumentViewerInputOptions.Parts
- Extension method DocumentViewerInputOptions.TabIndex
- Extension method DocumentViewerInputOptions.ValidationMessage
- Extension method DocumentViewerInputOptions.WhenChanged
- Extension method DocumentViewerInputOptions.Widget
- Method DocumentViewerInputOptionsFluent.Disabled
- Method DocumentViewerInputOptionsFluent.Height
- Method DocumentViewerInputOptionsFluent.Key
- Method DocumentViewerInputOptionsFluent.Label
- Method DocumentViewerInputOptionsFluent.Parts
- Method DocumentViewerInputOptionsFluent.TabIndex
- Method DocumentViewerInputOptionsFluent.ValidationMessage
- Method DocumentViewerInputOptionsFluent.WhenChanged
- Method DocumentViewerInputOptionsFluent.Widget
- Method Ui.DocumentViewer
Accepted by parameters 20
- Extension method DocumentViewerInputOptions.Disabled
- Extension method DocumentViewerInputOptions.Height
- Extension method DocumentViewerInputOptions.Key
- Extension method DocumentViewerInputOptions.Label
- Extension method DocumentViewerInputOptions.Parts
- Extension method DocumentViewerInputOptions.TabIndex
- Extension method DocumentViewerInputOptions.ValidationMessage
- Extension method DocumentViewerInputOptions.WhenChanged
- Extension method DocumentViewerInputOptions.Widget
- Method DocumentViewerInputOptionsFluent.Disabled
- Method DocumentViewerInputOptionsFluent.Height
- Method DocumentViewerInputOptionsFluent.Key
- Method DocumentViewerInputOptionsFluent.Label
- Method DocumentViewerInputOptionsFluent.Parts
- Method DocumentViewerInputOptionsFluent.TabIndex
- Method DocumentViewerInputOptionsFluent.ValidationMessage
- Method DocumentViewerInputOptionsFluent.WhenChanged
- Method DocumentViewerInputOptionsFluent.Widget
- Method ContentBuilder.DocumentViewer
- Method ContentBuilder.DocumentViewer
Constructors
public DocumentViewerInputOptions() #Methods
Inherited Methods
Properties
Inherited Properties
public EventHandler<AppValueChangedEventArgs>? OnChange { get; set; } #Fluent("WhenChanged")Extension 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);