Back to Devexpress

TcxCustomDateEditProperties Class

vcl-cxcalendar-e1011366.md

latest2.4 KB
Original Source

TcxCustomDateEditProperties Class

Defines settings specific to date editors.

Declaration

delphi
TcxCustomDateEditProperties = class(
    TcxCustomPopupEditProperties
)

Remarks

The TcxCustomDateEditProperties class introduces new properties specific to date editors. Use the Properties member of a specific editor to set its various settings. TcxDateEditProperties publishes attributes provided by the TcxCustomDateEditProperties class.

The DateButtons property specifies the buttons to display within the editor’s dropdown calendar. The image below displays these buttons outlined with red boxes.

The DateOnError property determines the edit value when user input validation fails. The SaveTime member determines whether time is also stored along with the date.

The MinDate, MaxDate, and ShowOnlyValidDates properties allow you to prohibit end-users from selecting a date/time value outside a specific range.

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomEditProperties TcxCustomTextEditProperties TcxCustomMaskEditProperties TcxCustomDropDownEditProperties TcxCustomPopupEditProperties TcxCustomDateEditProperties

See Also

TcxFormatController

Using the SmartTextToDate Function

TcxCustomDateEditProperties Members

cxCalendar Unit