Export (0) Print
Expand All
Expand Minimize

MarginProperty Enumeration

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
CaptionMarginsSpecifies where caption text can be placed.
ContentMarginsSpecifies where content can be placed.
SizingMarginsSpecifies 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft