MarginProperty Enumeration
Collapse the table of content
Expand the table of content

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

Specifies where caption text can be placed.


Specifies where content can be placed.


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
© 2015 Microsoft