Skip to main content
Edges Enumeration
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies which edges of a visual style element to draw.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[FlagsAttribute]
public enum Edges
[FlagsAttribute]
public enum class Edges
[<FlagsAttribute>]
type Edges
<FlagsAttribute>
Public Enumeration Edges
Member nameDescription
Bottom

The bottom edge of the element.

Diagonal

A diagonal border.

Left

The left edge of the element.

Right

The right edge of the element.

Top

The top edge of the element.

The Edges values are used as argument values in the VisualStyleRendererDrawEdge method.

.NET Framework
Available since 2.0
Return to top