Calendar.ShowDayHeader Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property bool ShowDayHeader { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
public bool ShowDayHeader { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.ShowDayHeader : bool with get, set
Public Property ShowDayHeader As Boolean
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.
// Display the day header
Calendar1.ShowDayHeader = true;
' Display the day header
Calendar1.ShowDayHeader = True
Remarks
This property has the same functionality as the Web Forms Calendar.ShowDayHeader property.