Version

BorderStyle Property (UltraCalendarCombo)

Returns or sets a value that determines the borderstyle of 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
This example uses the BorderStyleResolved and BorderStyleDropDownResolved properties to determine what border styles are in use by the control, and sets the BorderStyle and BorderStyleDropDown properties to 'None' is they are not set to 'None' already.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.CalendarCombo

    Private Sub HideBorders()

        '	If the resolved border style is not 'None', set it to 'None'
        If (Me.ultraCalendarCombo1.BorderStyleResolved <> UIElementBorderStyle.None) Then
            Me.ultraCalendarCombo1.BorderStyle = UIElementBorderStyle.None
        End If


        '	If the resolved dropdown border style is not 'None', set it to 'None'
        If (Me.ultraCalendarCombo1.BorderStyleDropDownResolved <> UIElementBorderStyle.None) Then
            Me.ultraCalendarCombo1.BorderStyleDropDown = UIElementBorderStyle.None
        End If

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.CalendarCombo;

		private void HideBorders()
		{

			//	If the resolved border style is not 'None', set it to 'None'
			if ( this.ultraCalendarCombo1.BorderStyleResolved != UIElementBorderStyle.None )
				this.ultraCalendarCombo1.BorderStyle = UIElementBorderStyle.None;


			//	If the resolved dropdown border style is not 'None', set it to 'None'
			if ( this.ultraCalendarCombo1.BorderStyleDropDownResolved != UIElementBorderStyle.None )
				this.ultraCalendarCombo1.BorderStyleDropDown = 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