2003-11-05 04:30:47 +00:00
<Type Name= "TreeNodeAttribute" FullName= "Gtk.TreeNodeAttribute" >
2003-11-05 21:28:19 +00:00
<TypeSignature Language= "C#" Value= "public class TreeNodeAttribute : System.Attribute" Maintainer= "Mike Kestner" />
2003-11-05 04:30:47 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-11-05 04:30:47 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<AssemblyCulture > neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
2003-11-05 21:28:19 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-11-05 04:30:47 +00:00
<Docs >
2003-11-05 21:28:19 +00:00
<summary > An attribute to specify tree node information of a class.</summary>
<remarks >
<para >
This attribute can be applied to a class which implements the
<see cref= "T:Gtk.ITreeNode" /> interface to provide additional information
2003-12-24 01:35:30 +00:00
about the node type to the <see cref= "T:Gtk.NodeStore" /> which will contain
2003-11-05 21:28:19 +00:00
the nodes.
</para>
<para >
In the following example, the class MyTreeNode is tagged as
a tree node with 3 columns:
<example >
<code lang= "C#" >
[TreeNode(ColumnCount=3)]
public class MyTreeNode : ITreeNode {
...
}
</code>
2003-12-24 01:35:30 +00:00
</example> </para>
2003-11-05 21:28:19 +00:00
</remarks>
2003-11-05 04:30:47 +00:00
</Docs>
<Base >
<BaseTypeName > System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes >
<Attribute >
<AttributeName > System.AttributeUsageAttribute</AttributeName>
</Attribute>
</Attributes>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TreeNodeAttribute ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-11-05 21:28:19 +00:00
<summary > TreeNodeAttribute constructor</summary>
2003-11-05 04:30:47 +00:00
<returns > a <see cref= "T:Gtk.TreeNodeAttribute" /> </returns>
2003-12-24 01:35:30 +00:00
<remarks > Instantiates a <see cref= "T:Gtk.TreeNodeAttribute" /> </remarks>
2003-11-05 04:30:47 +00:00
</Docs>
</Member>
<Member MemberName= "ColumnCount" >
<MemberSignature Language= "C#" Value= "public int ColumnCount { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-11-05 21:28:19 +00:00
<summary > ColumnCount named value.</summary>
2003-11-05 04:30:47 +00:00
<returns > a <see cref= "T:System.Int32" /> </returns>
2003-11-05 21:28:19 +00:00
<remarks >
Specifies the number of columns the node exposes. A
2003-12-24 01:35:30 +00:00
<see cref= "T:Gtk.TreeNodeValueAttribute" />
2003-11-05 21:28:19 +00:00
should be added to each of the properties of the class which represent
the individual column values.
</remarks>
2003-11-05 04:30:47 +00:00
</Docs>
</Member>
</Members>
2003-12-24 01:35:30 +00:00
</Type>