Table of Contents

Class SpeedDateButton

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents a specialized speed button control that displays a date and shows popup calendar when it is clicked.

public class SpeedDateButton : SpeedButtonWithPopup<PopupCalendar, Calendar>, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo, ICommandSource
Inheritance
SpeedDateButton
Implements
Derived

Constructors

SpeedDateButton()

Initializes a new instance of the SpeedDateButton class.

Properties

Calendar

Gets the calendar control used in the popup window.

Format

Gets or sets the format used for formatting the date.

FormatProvider

Gets or sets the format provider used for formatting the date.

MaxDate

Gets or sets the maximum date that can be selected in the control.

MinDate

Gets or sets the minimum date and time that can be selected in the control.

UseMaxDate

Gets or sets whether to use MaxDate for the date range limitation.

UseMinDate

Gets or sets whether to use MinDate for the date range limitation.

UseMinMaxDate

Gets or sets whether to use MaxDate and MinDate for the date range limitation.

Value

Gets or sets selected date.

Methods

GetValueAsString(object?)

Gets enum value as string.

OnPopupWindowClosed(object?, EventArgs)

Fired after popup window is closed. Applies value selected in the popup window to the control.

SetRange()

Updates possible date range using current settings.

ShowPopup()

Shows popup window.