See Also: TreeNodeAttribute Members
This attribute can be applied to a class which implements the Gtk.ITreeNode interface to provide additional information about the node type to the Gtk.NodeStore which will contain the nodes.
In the following example, the class MyTreeNode is tagged as a tree node with 3 columns:
C# Example
[TreeNode(ColumnCount=3)] public class MyTreeNode : ITreeNode { ... }
In the following example, the class MyListNode is tagged as a node with 2 columns and no child nodes:
C# Example
[TreeNode(ColumnCount=2, ListOnly=true)] public class MyListNode : ITreeNode { ... }