The System.Windows.Forms.VisualStyles.MarginProperty enumeration represents a set of margin properties that describe the placement of visual style elements. The System.Windows.Forms.VisualStyles.MarginProperty values are used as an argument in the VisualStyleRenderer.GetMargins(System.Drawing.IDeviceContext, MarginProperty) method to specify which property value to retrieve for the element that the System.Windows.Forms.VisualStyles.VisualStyleRenderer currently represents.
| Member Name | Description |
|---|---|
| CaptionMargins |
Specifies where caption text can be placed. |
| ContentMargins |
Specifies where content can be placed. |
| SizingMargins |
Specifies a margin used for nine-grid sizing. |