DateSelectionOptionsFluent
ConsoleMonster.Interactive
The fluent methods of DateSelectionOptions, 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
- DateSelectionOptionsFluent
Methods
public static DateSelectionOptions Configure(DateSelectionOptions dateSelectionOptions, Action<DateSelectionOptions> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Unavailable = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Configure(configured => configured.Unavailable = value);public static DateSelectionOptions Culture(DateSelectionOptions dateSelectionOptions, CultureInfo? value) #Sets DateSelectionOptions.Culture: Display and line-entry culture.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value System.Globalization.CultureInfo?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Culture = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Culture(value);public static DateSelectionOptions Data(DateSelectionOptions dateSelectionOptions, CalendarData value) #Sets DateSelectionOptions.Data: Grouped status marks and labels.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value ConsoleMonster.Dates.CalendarData
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Data = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Data(value);public static DateSelectionOptions FirstDayOfWeek(DateSelectionOptions dateSelectionOptions, DayOfWeek? value) #Sets DateSelectionOptions.FirstDayOfWeek: First weekday; null follows Culture.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value System.DayOfWeek?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { FirstDayOfWeek = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().FirstDayOfWeek(value);public static DateSelectionOptions Maximum(DateSelectionOptions dateSelectionOptions, DateTime? value) #Sets DateSelectionOptions.Maximum: Latest permitted date.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value System.DateTime?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Maximum = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Maximum(value);public static DateSelectionOptions Minimum(DateSelectionOptions dateSelectionOptions, DateTime? value) #Sets DateSelectionOptions.Minimum: Earliest permitted date.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value System.DateTime?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Minimum = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Minimum(value);public static DateSelectionOptions Today(DateSelectionOptions dateSelectionOptions, DateTime value) #Sets DateSelectionOptions.Today: Injectable civil date for today and the initial cursor.
Parameters
- dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions
- The instance.
- value System.DateTime
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Today = value }; Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Today(value);