VisualStyleRenderer.IsSupported プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

オペレーティング システムが visual スタイルをサポートしていて、ユーザーがそのオペレーティング システムで visual スタイルを有効にしており、さらに visual スタイルがアプリケーション ウィンドウのクライアント領域に適用されている場合は、true。それ以外の場合は false。

次の表は、IsSupported プロパティで戻り値として true を取得するために必要な 3 つの各条件を個別にチェックする方法をまとめたものです。
VisualStyleInformation クラスの IsSupportedByOS プロパティが true かどうか検査します。 | |
ユーザーがオペレーティング システムで visual スタイルを有効にしている。 | VisualStyleInformation クラスの IsEnabledByUser プロパティが true かどうか検査します。 |
Application クラスの VisualStyleState プロパティに、値 VisualStyleState.ClientAreaEnabled または VisualStyleState.ClientAndNonClientAreasEnabled が設定されているかどうか検査します。 |

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からVisualStyleRenderer.IsSupported プロパティを検索する場合は、下記のリンクをクリックしてください。

- VisualStyleRenderer.IsSupported プロパティのページへのリンク