Skip to main content
A newer version of this page is available. .

RepositoryItemDateEdit Class

A repository item storing settings specific to a DateEdit control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "DateEdit")]
public class RepositoryItemDateEdit :
    RepositoryItemPopupBase,
    IDateTimeOwner,
    ICalendarAppearancesOwner

The following members return RepositoryItemDateEdit objects:

Remarks

RepositoryItemDateEdit specifies settings specific to a date editor. To access these settings for a standalone control, see the DateEdit.Properties property. To create an inplace date editor, you should create a RepositoryItemDateEdit object and assign it to a specific column of a container control (XtraGrid, for instance). The inplace editor will be created automatically in this case based on settings of the repository item.

The RepositoryItemDateEdit class provides a number of properties and events to control the editor’s look, feel and behavior. For instance, you can specify:

  • whether to display the Today, Clear buttons and week numbers in the dropdown calendar;
  • the mask for entering values in the edit box;
  • appearance settings for the header and cells in the dropdown calendar, etc.
See Also