コード例 #1
0
 /// <summary>
 /// Initialize our state.
 /// </summary>
 /// <param name="owner">The PropertyTab that created this Property</param>
 /// <param name="index">The vertex this PropertyDescriptor operates on.</param>
 public VertexPropertyDescriptor(PointsPropertyTab owner, int index) :
     base("Vertex " + index, new Attribute[] { CategoryAttribute.Data })
 {
     this.owner = owner;
     this.index = index;
 }
コード例 #2
0
 public NumPointsPropertyDescriptor(PointsPropertyTab owner) :
     base("NumPoints", new Attribute[] { CategoryAttribute.Data, RefreshPropertiesAttribute.All })
 {
     this.owner = owner;
 }