GtkSharp/doc/en/Gtk/TreeNodeValueAttribute.xml

71 lines
2.4 KiB
XML
Raw Normal View History

<Type Name="TreeNodeValueAttribute" FullName="Gtk.TreeNodeValueAttribute">
<TypeSignature Language="C#" Maintainer="Mike Kestner" Value="public sealed class TreeNodeValueAttribute : System.Attribute" />
<AssemblyInfo>
<AssemblyName>gtk-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>2.8.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>&gt;Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs>
<summary>An attribute to identify a property as a tree node column value.</summary>
<remarks>
<para>
This attribute is applied to a property of a tree node class to
indicate that the property holds a column value of the node.
</para>
<para>
In the following example, the Frombulator property is tagged as Column 2
of the node which implements it:
</para>
<example>
<code lang="C#">
[TreeNodeValue(Column=2)]
public string Frombulator {
get {
return frombulator;
}
}
</code>
</example>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.AttributeUsage(AllowMultiple=True, Inherited=True, ValidOn=System.AttributeTargets.Property|Field)</AttributeName>
</Attribute>
</Attributes>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TreeNodeValueAttribute ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>TreeNodeValueAttribute constructor</summary>
<remarks>Instantiates a <see cref="T:Gtk.TreeNodeValueAttribute" /></remarks>
</Docs>
</Member>
<Member MemberName="Column">
<MemberSignature Language="C#" Value="public int Column { set; get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Column named value</summary>
<value>a <see cref="T:System.Int32" /></value>
<remarks>
The column number of the value which is exposed by the property
this <see cref="T:Gtk.TreeNodeValueAttribute" /> marks.
</remarks>
</Docs>
</Member>
</Members>
</Type>