MarginProperty Enum


Identifies the margin properties of a visual style element.

public enum class MarginProperty
public enum MarginProperty
type MarginProperty = 
Public Enum MarginProperty


CaptionMargins 3603

Specifies where caption text can be placed.

ContentMargins 3602

Specifies where content can be placed.

SizingMargins 3601

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.

Applies to