Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Calendar DayHeaderStyle Property

ASP.NET Calendar DayHeaderStyle Property


Calendar Control Calendar control


Definition and Usage

The DayHeaderStyle property is used to set or return the style of the day names in the calendar week.

Syntax

style

="

value

" />

or

style

="

value

" />

property Description
style Specifies the style to be set. See the Style controlfor the possible styles and their values.
value Specifies the value of the specified style.

Example 1

The following example shows one way to set the DayHeaderStyle in the calendar:

Demo Example »


Example 2

The following example shows another way to set the DayHeaderStyle in the calendar:


Try it - Demo

Set the Calendar control's DayHeaderStyle (with declaration and script)


Calendar Control Calendar control