Back to Devexpress

DateNavigator.BoldAppointmentDates Property

windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-e10ceb2d.md

latest3.5 KB
Original Source

DateNavigator.BoldAppointmentDates Property

Gets or sets a value indicating if the dates which contain appointments should be shown bold.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(true)]
public bool BoldAppointmentDates { get; set; }
vb
<DefaultValue(True)>
Public Property BoldAppointmentDates As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to bold the dates which contain at least one scheduled appointment; otherwise, false.

|

Remarks

Use this property to specify if the dates with appointments should be marked as bold in the DateNavigator control.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BoldAppointmentDates property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-optimize-performance-large-dataset/CS/FetchAppointmentExample/Form1.cs#L123

csharp
if (cbBoldAppointmentDates.Checked)
    dateNavigator1.BoldAppointmentDates = true;
else

winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L135

csharp
private void UpdateOptions() {
    dateNavigator1.BoldAppointmentDates = cbBoldAppointmentDates.Checked;
}

winforms-scheduler-optimize-performance-large-dataset/VB/FetchAppointmentExample/Form1.vb#L120

vb
If cbBoldAppointmentDates.Checked Then
    dateNavigator1.BoldAppointmentDates = True
Else

winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L127

vb
Private Sub UpdateOptions()
    dateNavigator1.BoldAppointmentDates = cbBoldAppointmentDates.Checked
End Sub

See Also

DateNavigator Class

DateNavigator Members

DevExpress.XtraScheduler Namespace