VisualStyleInformation.Size Property

 

Gets a string that describes the size of the current visual style.

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

public static string Size { get; }

Property Value

Type: System.String

A string that describes the size of the current visual style if visual styles are enabled; otherwise, an empty string ("").

This property returns "NormalSize", "LargeFonts" or "ExtraLargeFonts". This property checks the value of the IsEnabledByUser property internally.

.NET Framework
Available since 2.0
Return to top
Show: