DateTimePickerExtensions
Wisej.Web.Markup.DateTimePickerExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.DateTimePickerExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the DateTimePicker class.
Sets a custom date and time format string for the specified DateTimePicker control.
Returns: TDateTimePicker. The date time picker with the updated custom format.
This method sets the Format property to Custom and applies the specified custom format string.
Sets the format for displaying date and time in the specified DateTimePicker control.
format
The format to be applied to the date time picker, specified as a DateTimePickerFormat value.
Returns: TDateTimePicker. The date time picker with the updated format.
This method allows you to set the format of the date and time displayed in the date time picker using predefined formats.
Sets the maximum date and time that can be selected in the specified DateTimePicker.
Returns: TDateTimePicker. The DateTimePicker with the updated maximum date.
This method allows you to specify the latest date and time that can be selected by the user.
Sets the minimum date and time that can be selected in the specified DateTimePicker.
Returns: TDateTimePicker. The DateTimePicker with the updated minimum date.
This method allows you to specify the earliest date and time that can be selected by the user.
Attaches an event handler to the ValueChanged event.
Returns: TDateTimePicker. The DateTimePicker with the event handler attached.
This method allows you to execute a specified action whenever the value of the DateTimePicker changes.
Sets the value of the specified DateTimePicker control and returns the control.
Returns: TDateTimePicker. The DateTimePicker control with the updated value.
This method allows for fluent syntax when setting the value of a DateTimePicker control.