Table of Contents

Class CustomDateEdit

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

Base class for date editors.

public abstract class CustomDateEdit : Control, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
CustomDateEdit
Implements
Derived

Fields

MaxDateTime

Specifies the maximum date value of the DateTimePicker and other date editors. This field is read-only.

MinDateTime

Gets the minimum date value of the DateTimePicker and other date editors.

Properties

MaxDate

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

MaximumDateTime

Gets the maximum date value allowed for the control.

MinDate

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

MinimumDateTime

Gets the minimum date value allowed for 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 the currently selected date.

Methods

SetRange()

Updates possible date range using current settings.

SetRange(DateTime, DateTime)

Sets possible date range in the native control.