asp.net.ph

Calendar.ShowDayHeader Property

System.Web.UI.WebControls Namespace   Calendar Class


Sets or retrieves a value indicating whether the days of the week are displayed.

[ VB ]
Public Property ShowDayHeader As Boolean

[ C# ]
public bool ShowDayHeader {get; set;}

[ C++ ]
public: __property bool get_ShowDayHeader ( );
public: __property void set_ShowDayHeader ( bool );

[ JScript ]
public function get ShowDayHeader ( ) : Boolean;
public function set ShowDayHeader ( Boolean );

Property Value

This property accepts or returns only a boolean value: true if the days of the week are displayed; otherwise false. The default is true.

Example

The following example demonstrates how to set the ShowDayHeader property to display the days of the week.

<asp:Calendar id = "myCalendar" runat = "server"
   ShowDayHeader = "True" />
See Also

Calendar Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph