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