Version

BorderStyleDayOfWeekHeader Property

Gets/sets the border style that is used by the DayOfWeek headers.
Syntax
'Declaration
 
Public Property BorderStyleDayOfWeekHeader As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleDayOfWeekHeader {get; set;}
Remarks

The day of week headers appear at the top of the control, above the month area, when the DayOfWeekHeadersVisible property is True.

The UltraMonthViewSingle control raises an event when a DayOfWeek header is clicked (see DayOfWeekHeaderClicked)

Example
Demonstrates how to set the control's various border styles to make some elements of the control appear raised, inset, etc., or prevent the borders from appearing at all.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.MonthViewSingle

    Private Sub SetupBorderStyles()

        '	Set the control's BorderStyle to Raised
        Me.UltraMonthViewSingle1.BorderStyle = UIElementBorderStyle.Raised

        '	Set the control's BorderStyleDay to Inset
        Me.UltraMonthViewSingle1.BorderStyleDay = UIElementBorderStyle.Inset

        '	Set the control's BorderStyleDayOfWeekHeader to None
        Me.UltraMonthViewSingle1.BorderStyleDayOfWeekHeader = UIElementBorderStyle.None

        '	Set the control's BorderStyleWeekNumber to None...since the week numbers are
        '	hidden by default, set the WeekNumbersVisible property to true so we see them.
        Me.UltraMonthViewSingle1.BorderStyleWeekNumber = UIElementBorderStyle.None
        Me.UltraMonthViewSingle1.WeekNumbersVisible = True

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.MonthViewSingle;
using System.Diagnostics;

		private void SetupBorderStyles()
		{

			//	Set the control's BorderStyle to Raised
			this.ultraMonthViewSingle1.BorderStyle = UIElementBorderStyle.Raised;

			//	Set the control's BorderStyleDay to Inset
			this.ultraMonthViewSingle1.BorderStyleDay = UIElementBorderStyle.Inset;

			//	Set the control's BorderStyleDayOfWeekHeader to None
			this.ultraMonthViewSingle1.BorderStyleDayOfWeekHeader = UIElementBorderStyle.None;

			//	Set the control's BorderStyleWeekNumber to None...since the week numbers are
			//	hidden by default, set the WeekNumbersVisible property to true so we see them.
			this.ultraMonthViewSingle1.BorderStyleWeekNumber = UIElementBorderStyle.None;
			this.ultraMonthViewSingle1.WeekNumbersVisible = true;

		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also