FMX.TreeView.TCustomTreeView.AllowDrag
Delphi
property AllowDrag: Boolean read FAllowDrag write SetAllowDrag;
C++
__property bool AllowDrag = {read=FAllowDrag, write=SetAllowDrag, nodefault};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | FMX.TreeView.pas FMX.TreeView.hpp |
FMX.TreeView | TCustomTreeView |
説明
このツリー ビュー内の項目に対して、ドラッグ操作が有効化どうかを示します。
AllowDrag を True に設定すると、このツリー ビュー内のツリー項目が、ツリー ビュー内においてドラッグ&ドロップ可能になります。この方法により、ドラッグ&ドロップ操作を使用したツリー ビュー項目の順序入れ替えができます。