FrameStyle Enumeration
.NET Framework (current version)
Specifies the frame style of the selected control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| Dashed | A thin, dashed border. | |
| Thick | A thick, solid border. |
This enumeration is used by ControlPaint.DrawReversibleFrame.
DrawReversibleFrame is used when selecting objects or during drag-and-drop operations.
The following code example demonstrates using the FrameStyle enumeration. To run the example, paste the following code in a form called Form1 containing several controls.This example assumes the MouseDown, MouseMove, and MouseUp events are connected to the event-handler methods defined in the example.
.NET Framework
Available since 1.1
Available since 1.1
Show: