Back to Devexpress

KnownDateDay.DisplayName Property

corelibraries-devexpress-dot-schedule-dot-knowndateday.md

latest2.3 KB
Original Source

KnownDateDay.DisplayName Property

Gets or sets the name of the day to display, associated with the current KnownDateDay object or its descendant.

Namespace : DevExpress.Schedule

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public string DisplayName { get; set; }
vb
Public Property DisplayName As String

Property Value

TypeDescription
String

A String representing a name of the day.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayName 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-country-specific-work-week-holidays/CS/Form1.cs#L71

csharp
if (holiday != null) {
    header.Caption = holiday.DisplayName;
    e.DrawDefault();

winforms-scheduler-country-specific-work-week-holidays/VB/Form1.vb#L57

vb
If holiday IsNot Nothing Then
    header.Caption = holiday.DisplayName
    e.DrawDefault()

See Also

KnownDateDay Class

KnownDateDay Members

DevExpress.Schedule Namespace