Border Settings in Windows Forms Radio Button (RadioButtonAdv)

Color and Styles can be applied to the border of the RadioButtonAdv as discussed below.

RadioButtonAdv Properties Description
Border3DStyle Indicates the style of the 3D border. The options included are as follows.

RaisedOuter,

SunkenOuter,

RaisedInner,

SunkenInner,

Raised,

Etched,

Bump,

Sunken,

Adjust and

Flat.

The default value is set to 'Sunken'.
BorderColor Specifies the color of the 2D border.
BorderSingle Indicates the 2D border style. The options included are as follows.

Dotted,

Dashed,

Solid,

Inset,

Outset and

None.

The BorderStyle property should be set to 'FixedSingle'.
BorderStyle Indicates whether the panel should have a border. The options included are given below.

FixedSingle,

Fixed3D and

None.

HotBorderColor Specifies the color of the FixedSingle border when MouseOver.
this.radioButtonAdv1.BorderColor = System.Drawing.Color.Fuchsia;
this.radioButtonAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.radioButtonAdv1.BorderSingle = System.Windows.Forms.ButtonBorderStyle.Dotted;
this.radioButtonAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.RaisedInner;

// BorderStyle must be set to 'FixedSingle'.

this.radioButtonAdv1.HotBorderColor = System.Drawing.Color.DarkOrange;
Me.radioButtonAdv1.BorderColor = System.Drawing.Color.Fuchsia
Me.radioButtonAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.radioButtonAdv1.BorderSingle = System.Windows.Forms.ButtonBorderStyle.Dotted
Me.radioButtonAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.RaisedInner

' BorderStyle must be set to 'FixedSingle'.
Me.radioButtonAdv1.HotBorderColor = System.Drawing.Color.DarkOrange

Windows forms RadioButtonAdv changing the border color

Windows forms RadioButtonAdv changing the border color during mouse hover on control