Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ThemeSizeType Enumeration

Specifies the size of the visual style part to retrieve.

Namespace:  System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ThemeSizeType

Member nameDescription
DrawThe size that the current visual style uses to draw the part.
MinimumThe minimum size of the visual style part.
TrueThe size of the visual style part that will best fit the available space.

The ThemeSizeType values are used as an argument for the VisualStyleRenderer.GetPartSize method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft