12 references to IsSupported
System.Windows.Forms (12)
winforms\Managed\System\WinForms\Application.cs (1)
606
return (ComCtlSupportsVisualStyles && VisualStyles.VisualStyleRenderer.
IsSupported
);
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (1)
43
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\ProfessionalColors.cs (1)
368
if (VisualStyleRenderer.
IsSupported
) {
winforms\Managed\System\WinForms\ProgressBarRenderer.cs (1)
39
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1552
if (ownerGrid.CanShowVisualStyleGlyphs && UnsafeNativeMethods.IsVista && VisualStyleRenderer.
IsSupported
) {
winforms\Managed\System\WinForms\ScrollBarRenderer.cs (1)
39
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\StatusBar.cs (1)
79
if (VisualStyleRenderer.
IsSupported
) {
winforms\Managed\System\WinForms\TabRenderer.cs (1)
40
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
42
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\TrackBarRenderer.cs (1)
40
return VisualStyleRenderer.
IsSupported
; // no downlevel support
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (2)
107
if (!
IsSupported
) {
224
if (!
IsSupported
) {