MarginProperty 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.

Identifies the margin properties of a visual style element.

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

public enum MarginProperty

Member nameDescription
CaptionMargins

Specifies where caption text can be placed.

ContentMargins

Specifies where content can be placed.

SizingMargins

Specifies a margin used for nine-grid sizing.

The MarginProperty enumeration represents a set of margin properties that describe the placement of visual style elements. The MarginProperty values are used as an argument in the VisualStyleRenderer.GetMargins method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

.NET Framework
Available since 2.0
Return to top
Show: