Version

BorderStyle Property (UltraFormattedTextEditorBase)

Returns or sets the border style of the control.
Syntax
'Declaration
 
Public Property BorderStyle As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyle {get; set;}
Remarks

You can use the Appearance property to specify the border color.

Example
Imports Infragistics.Win
Imports Infragistics.Win.FormattedLinkLabel

' Treat the Value as a URL
Me.ultraFormattedLinkLabel1.TreatValueAs = TreatValueAs.URL

' Set the value to a URL
Me.ultraFormattedLinkLabel1.Value = "http://www.Infragistics.com"

' Apply a solid border
Me.ultraFormattedLinkLabel1.BorderStyle = UIElementBorderStyle.Solid

' Set the colors to black on White. 
Me.ultraFormattedLinkLabel1.Appearance.BackColor = Color.White
Me.ultraFormattedLinkLabel1.Appearance.ForeColor = Color.Black

' Make links display in Blue.
Me.ultraFormattedLinkLabel1.LinkAppearance.ForeColor = Color.Blue

' Make links purple when you mouse over them. 
Me.ultraFormattedLinkLabel1.HotTrackLinkAppearance.ForeColor = Color.Purple

' Only underling links when the mouse is over them. 
Me.ultraFormattedLinkLabel1.UnderlineLinks = UnderlineLink.WhenHovered

' When the link is active, display it in green.
Me.ultraFormattedLinkLabel1.ActiveLinkAppearance.ForeColor = Color.Green

' Visited links display in Red
Me.ultraFormattedLinkLabel1.VisitedLinkAppearance.ForeColor = Color.Red

' Put some padding around the inside of the control
Me.ultraFormattedLinkLabel1.Padding = New Size(5, 5)

' Do not autosize. 
Me.ultraFormattedLinkLabel1.AutoSize = False

' Do not wrap text. 
Me.ultraFormattedLinkLabel1.WrapText = False
using Infragistics.Win;
using Infragistics.Win.FormattedLinkLabel;

// Treat the Value as a URL
this.ultraFormattedLinkLabel1.TreatValueAs = TreatValueAs.URL;

// Set the value to a URL
this.ultraFormattedLinkLabel1.Value = "http://www.Infragistics.com";

// Apply a solid border
this.ultraFormattedLinkLabel1.BorderStyle = UIElementBorderStyle.Solid;

// Set the colors to black on White. 
this.ultraFormattedLinkLabel1.Appearance.BackColor = Color.White;
this.ultraFormattedLinkLabel1.Appearance.ForeColor = Color.Black;

// Make links display in Blue.
this.ultraFormattedLinkLabel1.LinkAppearance.ForeColor = Color.Blue;

// Make links purple when you mouse over them. 
this.ultraFormattedLinkLabel1.HotTrackLinkAppearance.ForeColor = Color.Purple;

// Only underling links when the mouse is over them. 
this.ultraFormattedLinkLabel1.UnderlineLinks = UnderlineLink.WhenHovered;

// When the link is active, display it in green.
this.ultraFormattedLinkLabel1.ActiveLinkAppearance.ForeColor = Color.Green;

// Visited links display in Red
this.ultraFormattedLinkLabel1.VisitedLinkAppearance.ForeColor = Color.Red;

// Put some padding around the inside of the control
this.ultraFormattedLinkLabel1.Padding = new Size(5,5);

// Do not autosize. 
this.ultraFormattedLinkLabel1.AutoSize = false;

// Do not wrap text. 
this.ultraFormattedLinkLabel1.WrapText = false;
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