ScrollBarState 列挙体
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Public Enumeration ScrollBarState
メンバ| メンバ名 | 説明 | |
|---|---|---|
| Disabled | スクロール バー要素が無効になります。 | |
| Hot | スクロール バー要素がホットになります。 | |
| Normal | スクロール バー要素が通常になります。 | |
| Pressed | スクロール バー要素が押された状態になります。 |
解説ScrollBarState 値は、次のクラスによって公開される VisualStyleElement オブジェクトの状態に対応します。
-
VisualStyleElement.ScrollBar.LeftTrackHorizontal
-
VisualStyleElement.ScrollBar.RightTrackHorizontal
-
VisualStyleElement.ScrollBar.LowerTrackVertical
-
VisualStyleElement.ScrollBar.UpperTrackVertical
-
VisualStyleElement.ScrollBar.ThumbButtonHorizontal
-
VisualStyleElement.ScrollBar.ThumbButtonVertical
ScrollBarState 値は、スクロール バー トラック、スクロール ボックス (つまみとも呼ばれる)、およびスクロール ボックス グリップを描画する System.Windows.Forms.ScrollBarRenderer クラス メソッドの引数としても使用されます。
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- ScrollBarState 列挙体のページへのリンク