Back to Devexpress

DxCalendar<T> Members

blazor-devexpress-dot-blazor-dot-dxcalendar-1-dot-underscore-members.md

latest7.0 KB
Original Source

DxCalendar<T> Members

A monthly calendar that supports multiple date selection.

Constructors

NameDescription
DxCalendar()Initializes a new instance of the DxCalendar<T> class.

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the Calendar.
CssClassAssigns a CSS class to the editor. Inherited from DxDataEditor<T>.
DayCellTemplateSpecifies the template used to display day cells.
EnabledSpecifies whether an editor is enabled. Inherited from DxDataEditor<T>.
EnableMultiSelectSpecifies whether multiple dates can be selected in the calendar.
FirstDayOfWeekSpecifies the first day of a week in the calendar.
HeaderCssClassAssigns a CSS class to the Calendar’s header.
IdSpecifies the component’s unique identifier. Inherited from DxDataEditor<T>.
MaxDateSpecifies the maximum date that can be selected in the calendar.
MinDateSpecifies the minimum date that can be selected in the calendar.
ReadOnlySpecifies whether read-only mode is active. Inherited from DxDataEditor<T>.
SelectedDateSpecifies the selected date.
SelectedDateExpressionSpecifies a lambda expression that identifies the SelectedDate property’s bound value when the Calendar is placed in the EditForm.
SelectedDatesSpecifies a collection of dates selected within the calendar.
SelectedDatesExpressionSpecifies a lambda expression that identifies the SelectedDates property’s bound value when the Calendar is placed in the EditForm.
ShowClearButtonSpecifies whether the Clear button is displayed in the calendar’s footer.
ShowValidationSuccessStateSpecifies whether the editor indicates successful validation. When an input value is valid, the editor displays a green outline and can show a success icon. Inherited from DxDataEditor<T>.
SizeModeSpecifies an editor size. Inherited from DxDataEditor<T>.
ValidationEnabledSpecifies whether the editor validates user input. Inherited from DxDataEditor<T>.
ViewModeSpecifies available calendar views and selectable date units.
VisibleDateSpecifies the month and the year to display on the calendar.
WeekNumberRuleSpecifies the first week of the year.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
CustomDisabledDateAllows you to disable selection of individual dates in the DxCalendar<T> component based on custom logic.
SelectedDateChangedFires after the selected date is changed.
SelectedDatesChangedFires after the selection is changed.
VisibleDateChangedFires after the month and/or year in the calendar is changed.

See Also

DxCalendar<T> Class

DevExpress.Blazor Namespace