// Please use the following namespace
// using System.Windows.Forms;
// using System.Drawing;
// using GrapeCity.Win.Editors;
public void SetBorderStyleSettings()
{
// Create an instance of a GcRichTextBox control.
GcRichTextBox gcRichTextBox1 = new GcRichTextBox();
// Sets the BorderStyle property.
gcRichTextBox1.BorderStyle = BorderStyle.FixedSingle;
// Sets the SingleBorderColor property.
gcRichTextBox1.SingleBorderColor = Color.Blue;
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports System.Drawing;
' Imports GrapeCity.Win.Editors;
Public Sub SetBorderStyleSettings()
' Create an instance of a GcRichTextBox control.
Dim gcRichTextBox1 As New GcRichTextBox()
' Sets the BorderStyle property.
gcRichTextBox1.BorderStyle = BorderStyle.FixedSingle
' Sets the SingleBorderColor property.
gcRichTextBox1.SingleBorderColor = Color.Blue
End Sub