Calendar.ShowDayHeader Property

Definition

Gets or sets a value that determines whether the control displays the names of the days of the week in the calendar header. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
[System.ComponentModel.Bindable(true)]
public bool ShowDayHeader { get; set; }

Property Value

true if the names of the days of the week should be displayed in the calendar header; otherwise, false. The default is true.

Attributes

Examples

The following code example demonstrates how to use the ShowDayHeader property to show the headers for the days. This example is part of a larger code sample for the Calendar overview.

C#
// Display the day header
Calendar1.ShowDayHeader = true;

Remarks

This property has the same functionality as the Web Forms Calendar.ShowDayHeader property.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also