/// <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; }
public NumPointsPropertyDescriptor(PointsPropertyTab owner) : base("NumPoints", new Attribute[] { CategoryAttribute.Data, RefreshPropertiesAttribute.All }) { this.owner = owner; }