System.Windows.Forms.VisualStyles.MarginProperty Enumeration

Identifies the margin properties of a visual style element.

Syntax

public enum MarginProperty

Remarks

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.

Members

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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0