Version

BorderStyleResolved Property (UltraCalendarCombo)

Returns the resolved BorderStyle used for the control
Syntax
'Declaration
 
Public ReadOnly Property BorderStyleResolved As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleResolved {get;}
Remarks

When the BorderStyle property is set to Default, the control's default setting, Inset, will be used.

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