TreeViewHitTestLocations 列挙体
この列挙体には、メンバ値のビットごとの組み合わせを可能にする FlagsAttribute 属性が含まれています。
名前空間: System.Windows.Formsアセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

<ComVisibleAttribute(True)> _ <FlagsAttribute> _ Public Enumeration TreeViewHitTestLocations

メンバ名 | 説明 | |
---|---|---|
AboveClientArea | TreeView コントロールのクライアント部分の上にある位置。 | |
BelowClientArea | TreeView コントロールのクライアント部分の下にある位置。 | |
Image | TreeView または TreeNode に含まれているイメージの境界内にある位置。 | |
Indent | TreeNode のインデント領域内の位置。 | |
Label | TreeNode コントロールのテキスト部分の位置。 | |
LeftOfClientArea | TreeView コントロールのクライアント部分の左側の位置。 | |
None | TreeView コントロールのクライアント領域内だが、ノードやノードの一部ではない位置。 | |
PlusMinus | TreeNode コントロールのプラス/マイナス領域の位置。 | |
RightOfClientArea | TreeView コントロールのクライアント部分の右側の位置。 | |
RightOfLabel | TreeNode のテキスト領域の右側の位置。 | |
StateImage | TreeNode の状態イメージの境界内の位置。 |


TreeViewHitTestLocations 列挙体の使用方法を示すコード例を次に示します。この例を実行するには、treeView1 という名前の TreeView コントロールが配置された Windows フォームに次のコードを貼り付け、TreeView に項目を入力します。treeview1 とフォームの MouseDown イベントに、この例の HandleMouseDown メソッドを関連付けるようにしてください。

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


Weblioに収録されているすべての辞書からTreeViewHitTestLocations 列挙体を検索する場合は、下記のリンクをクリックしてください。

- TreeViewHitTestLocations 列挙体のページへのリンク