Version

BorderStyleWeekNumber Property

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

The week number headers appear to the left of the month area, when the WeekNumbersVisible property is True.

Note: The week number headers are not displayed by default. The BorderStyleWeekNumber property setting will only be observable when the WeekNumbersVisible property is set to True.

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