This example sets the control's BorderStyle to Raised; if it is already set to Raised, the method does nothing and returns.
Private Sub MakeBorderRaised()
If Me.ultraMonthViewMulti1.BorderStyleResolved <> Infragistics.Win.UIElementBorderStyle.Raised Then
Me.ultraMonthViewMulti1.BorderStyle = Infragistics.Win.UIElementBorderStyle.Raised
End If
End Sub
'Declaration
Public ReadOnly Property BorderStyleResolved As Infragistics.Win.UIElementBorderStyle
private void MakeBorderRaised()
{
if ( this.ultraMonthViewMulti1.BorderStyleResolved != Infragistics.Win.UIElementBorderStyle.Raised )
this.ultraMonthViewMulti1.BorderStyle = Infragistics.Win.UIElementBorderStyle.Raised;
}
'Declaration
Public ReadOnly Property BorderStyleResolved As Infragistics.Win.UIElementBorderStyle
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