Back to Devexpress

CalendarControlBase.HighlightTodayCell Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-af0a1154.md

latest2.1 KB
Original Source

CalendarControlBase.HighlightTodayCell Property

Gets or sets whether Today’s date is highlighted.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean HighlightTodayCell { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property HighlightTodayCell As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A value that specifies if Today’s date is highlighted

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

When the HighlightTodayCell property is set to Default or True , Today’s date is automatically highlighted in the calendar. Set this property to False to prevent this from happening.

See Also

HighlightTodayCell

TodayDate

ShowTodayButton

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace