DatePickerInputOptions
ConsoleMonster.Interactive
Named scalar/range date input construction shared by Ui.DatePicker and PowerShell.
Inheritance
- AppInputOptions
- DatePickerInputOptions
Usage
Explore 41 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 DatePickerInputOptions.Configure
- Extension method DatePickerInputOptions.Disabled
- Extension method DatePickerInputOptions.Key
- Extension method DatePickerInputOptions.Label
- Extension method DatePickerInputOptions.Range
- Extension method DatePickerInputOptions.Selection
- Extension method DatePickerInputOptions.TabIndex
- Extension method DatePickerInputOptions.ValidationMessage
- Extension method DatePickerInputOptions.Value
- Method DatePickerInputOptionsFluent.Configure
- Method DatePickerInputOptionsFluent.Disabled
- Method DatePickerInputOptionsFluent.Key
- Method DatePickerInputOptionsFluent.Label
- Method DatePickerInputOptionsFluent.Range
- Method DatePickerInputOptionsFluent.Selection
- Method DatePickerInputOptionsFluent.TabIndex
- Method DatePickerInputOptionsFluent.ValidationMessage
- Method DatePickerInputOptionsFluent.Value
- Method Ui.DatePicker
Accepted by parameters 22
- Extension method DatePickerInputOptions.Configure
- Extension method DatePickerInputOptions.Configure
- Extension method DatePickerInputOptions.Disabled
- Extension method DatePickerInputOptions.Key
- Extension method DatePickerInputOptions.Label
- Extension method DatePickerInputOptions.Range
- Extension method DatePickerInputOptions.Selection
- Extension method DatePickerInputOptions.TabIndex
- Extension method DatePickerInputOptions.ValidationMessage
- Extension method DatePickerInputOptions.Value
- Method DatePickerInputOptionsFluent.Configure
- Method DatePickerInputOptionsFluent.Configure
- Method DatePickerInputOptionsFluent.Disabled
- Method DatePickerInputOptionsFluent.Key
- Method DatePickerInputOptionsFluent.Label
- Method DatePickerInputOptionsFluent.Range
- Method DatePickerInputOptionsFluent.Selection
- Method DatePickerInputOptionsFluent.TabIndex
- Method DatePickerInputOptionsFluent.ValidationMessage
- Method DatePickerInputOptionsFluent.Value
- Method ContentBuilder.DatePicker
- Method ContentBuilder.DatePicker
Constructors
public DatePickerInputOptions() #Methods
Inherited Methods
Properties
Inherited Properties
public EventHandler<AppValueChangedEventArgs>? OnChange { get; set; } #Extension Methods
public static DatePickerInputOptions Configure(DatePickerInputOptions datePickerInputOptions, Action<DatePickerInputOptions> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DatePickerInputOptions>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { OnChange = value }; Ui.DatePicker().Configure(configured => configured.OnChange = value);public static DatePickerInputOptions Disabled(DatePickerInputOptions datePickerInputOptions, bool value) #Sets AppInputOptions.Disabled: Disables editing and keyboard focus.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Disabled = value }; Ui.DatePicker().Disabled(value);public static DatePickerInputOptions Disabled(DatePickerInputOptions datePickerInputOptions) #Sets AppInputOptions.Disabled to true.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance to configure.
public static DatePickerInputOptions Key(DatePickerInputOptions datePickerInputOptions, string value) #Sets AppInputOptions.Key: The unique application-state key.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Key = value }; Ui.DatePicker().Key(value);public static DatePickerInputOptions Label(DatePickerInputOptions datePickerInputOptions, string? value) #Sets AppInputOptions.Label: The visible label; null uses the key.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Label = value }; Ui.DatePicker().Label(value);public static DatePickerInputOptions Range(DatePickerInputOptions datePickerInputOptions, bool value) #Sets DatePickerInputOptions.Range: Whether Value is an inclusive DateRange.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Range = value }; Ui.DatePicker().Range(value);public static DatePickerInputOptions Range(DatePickerInputOptions datePickerInputOptions) #Sets DatePickerInputOptions.Range to true.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance to configure.
public static DatePickerInputOptions Selection(DatePickerInputOptions datePickerInputOptions, DateSelectionOptions value) #Sets DatePickerInputOptions.Selection: Shared date bounds, culture and marks.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value ConsoleMonster.Interactive.DateSelectionOptions
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Selection = value }; Ui.DatePicker().Selection(value);public static DatePickerInputOptions Selection(DatePickerInputOptions datePickerInputOptions, Action<DateSelectionOptions> configure) #Configures DatePickerInputOptions.Selection in place (creating it when not set): Shared date bounds, culture and marks.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions>
- Configures the value.
public static DatePickerInputOptions TabIndex(DatePickerInputOptions datePickerInputOptions, int value) #Sets AppInputOptions.TabIndex: Keyboard focus order; equal values preserve declaration order.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { TabIndex = value }; Ui.DatePicker().TabIndex(value);public static DatePickerInputOptions ValidationMessage(DatePickerInputOptions datePickerInputOptions, string? value) #Sets AppInputOptions.ValidationMessage: Initial validation text.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { ValidationMessage = value }; Ui.DatePicker().ValidationMessage(value);public static DatePickerInputOptions Value(DatePickerInputOptions datePickerInputOptions, object? value) #Sets DatePickerInputOptions.Value: The initial DateTime or DateRange. Omission leaves selection uncommitted.
Parameters
- datePickerInputOptions ConsoleMonster.Interactive.DatePickerInputOptions
- The instance.
- value object?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DatePickerInputOptions { Value = value }; Ui.DatePicker().Value(value);