Documentation for this section has not yet been entered.
The following table describes how to individually check for each of the three conditions that must exist for the VisualStyleRenderer.IsSupported property to return true.
The operating system supports visual styles. |
Verify that the VisualStyleInformation.IsSupportedByOS property of the System.Windows.Forms.VisualStyles.VisualStyleInformation class is true. |
The user has enabled visual styles in the operating system. |
Verify that the VisualStyleInformation.IsEnabledByUser property of the System.Windows.Forms.VisualStyles.VisualStyleInformation class is true. |
Visual styles are being used to draw the client area of application windows. |
Verify that the System.Windows.Forms.Application.VisualStyleState property of the System.Windows.Forms.Application class has the value VisualStyleState.ClientAreaEnabled or VisualStyleState.ClientAndNonClientAreasEnabled. |