Gtk.TreeNodeValueAttribute Class
An attribute to identify a property as a tree node column value.

See Also: TreeNodeValueAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=true)]
public sealed class TreeNodeValueAttribute : Attribute

Remarks

This attribute is applied to a property of a tree node class to indicate that the property holds a column value of the node.

In the following example, the Frombulator property is tagged as Column 2 of the node which implements it:

C# Example

	[TreeNodeValue(Column=2)]
	public string Frombulator {
		get {
			return frombulator;
		}
	}
	

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0