TreeViewArray.DrawNode 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當抽取 a TreeView 且 DrawMode 屬性設定 TreeViewDrawMode 為非 Normal的值時,會發生。
public:
event System::Windows::Forms::DrawTreeNodeEventHandler ^ DrawNode;
public event System.Windows.Forms.DrawTreeNodeEventHandler DrawNode;
member this.DrawNode : System.Windows.Forms.DrawTreeNodeEventHandler
Public Custom Event DrawNode As DrawTreeNodeEventHandler
Public Event DrawNode As DrawTreeNodeEventHandler
事件類型
備註
利用此事件透過擁有者繪圖自訂控制 TreeView 節點的外觀。
欲了解更多如何處理事件的資訊,請參閱 「處理與提升事件」。
注意
命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。