MarginProperty Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the margin properties of a visual style element.
public enum class MarginProperty
public enum MarginProperty
type MarginProperty =
Public Enum MarginProperty
- Inheritance
Name | Value | Description |
---|---|---|
SizingMargins | 3601 | Specifies a margin used for nine-grid sizing. |
ContentMargins | 3602 | Specifies where content can be placed. |
CaptionMargins | 3603 | Specifies where caption text can be placed. |
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.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: