Version

BorderStyle Property (UltraMonthViewSingleBase)

Gets/sets which border style will be used by the control.
Syntax
'Declaration
 
Public Property BorderStyle As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyle {get; set;}
Remarks

Note that not all styles are available on all operating systems. If the version of the OS that your program is running on does not support a particular border style, borders formatted with that style will be drawn using solid lines.

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