Version

BorderStyleCalendar Property

Determines the borderstyle used for the month area.
Syntax
'Declaration
 
Public Property BorderStyleCalendar As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleCalendar {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
This example sets all of the control's border styles to 'None', unless the resolved border style is already 'None'.

Imports Infragistics.Win

    Private Sub HideBorders()

        Me.ultraMonthViewMulti1.BorderStyle = UIElementBorderStyle.None

        If (Me.ultraMonthViewMulti1.BorderStyleCalendarResolved <> UIElementBorderStyle.None) Then
            Me.ultraMonthViewMulti1.BorderStyleCalendar = UIElementBorderStyle.None
        End If

        If (Me.ultraMonthViewMulti1.BorderStyleDayResolved <> UIElementBorderStyle.None) Then
            Me.ultraMonthViewMulti1.BorderStyleDay = UIElementBorderStyle.None
        End If

        If (Me.ultraMonthViewMulti1.BorderStyleMonthHeaderResolved <> UIElementBorderStyle.None) Then
            Me.ultraMonthViewMulti1.BorderStyleMonthHeader = UIElementBorderStyle.None
        End If

        If (Me.ultraMonthViewMulti1.BorderStyleMonthPopupResolved <> UIElementBorderStyle.None) Then
            Me.ultraMonthViewMulti1.BorderStyleMonthPopup = UIElementBorderStyle.None
        End If

    End Sub
using Infragistics.Win;

		private void HideBorders()
		{

			this.ultraMonthViewMulti1.BorderStyle = UIElementBorderStyle.None;

			if ( this.ultraMonthViewMulti1.BorderStyleCalendarResolved != UIElementBorderStyle.None )
				this.ultraMonthViewMulti1.BorderStyleCalendar = UIElementBorderStyle.None;

			if ( this.ultraMonthViewMulti1.BorderStyleDayResolved != UIElementBorderStyle.None )
				this.ultraMonthViewMulti1.BorderStyleDay = UIElementBorderStyle.None;

			if ( this.ultraMonthViewMulti1.BorderStyleMonthHeaderResolved != UIElementBorderStyle.None )
				this.ultraMonthViewMulti1.BorderStyleMonthHeader = UIElementBorderStyle.None;

			if ( this.ultraMonthViewMulti1.BorderStyleMonthPopupResolved != UIElementBorderStyle.None )
				this.ultraMonthViewMulti1.BorderStyleMonthPopup = UIElementBorderStyle.None;

		}
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