'Declaration Public Overrides ReadOnly Property BorderStyle As Infragistics.Win.UIElementBorderStyle
public override Infragistics.Win.UIElementBorderStyle BorderStyle {get;}
The border style of the AddNew box buttons can be set by the ButtonBorderStyle property.
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.
Imports Infragistics.Win Public Overrides Property BorderStyle() As UIElementBorderStyle Get ' Returns borderstyle based on FlatMode property of the control. If Me.ControlElement.UltraControl.IsFlatMode Then Return UIElementBorderStyle.Solid Else Return UIElementBorderStyle.Raised End If End Get Set(ByVal Value As UIElementBorderStyle) MyBase.BorderStyle = Value End Set End Property
using Infragistics.Win; public override UIElementBorderStyle BorderStyle { get { // Return borderstyle based on FlatMode property of the control. if (this.ControlElement.UltraControl.IsFlatMode) return UIElementBorderStyle.Solid; else return UIElementBorderStyle.Raised; } }
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