58b580c26f
* gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion. * gtk/TreeNodeValueAttribute.cs : ditto svn path=/trunk/gtk-sharp/; revision=19648
25 lines
406 B
C#
25 lines
406 B
C#
// TreeNodeValueAttribute.cs - Attribute to mark properties as TreeNode column values
|
|
//
|
|
// Author: Mike Kestner <mkestner@ximian.com>
|
|
//
|
|
// <c> 2003 Novell, Inc.
|
|
|
|
namespace Gtk {
|
|
|
|
using System;
|
|
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public sealed class TreeNodeValueAttribute : Attribute {
|
|
int col;
|
|
|
|
public int Column {
|
|
get {
|
|
return col;
|
|
}
|
|
set {
|
|
col = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|