一个很简单的属性继承问题(100分不够在加)
public class ShapeNode : DiagramNode, IPersists, InplaceEditable
{
public ShapeNode();
public ShapeNode(Diagram parent);
public ShapeNode(ShapeNode prototype);
public CustomDraw CustomDraw { get; set; }
public bool EnableStyledText { get; set; }
public override Font Font { get; set; }
public Image Image { get; set; }
public ImageAlign ImageAlign { get; set; }
public string PlainText { get; }
public bool PolygonalTextLayout { get; set; }
public bool RotateImage { get; set; }
public bool RotateText { get; set; }
public float RotationAngle { get; set; }
[Editor("MindFusion.Diagramming.WinForms.Design.ShapeEditor, MindFusion.Diagramming.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a0d18338041985ba", typeof(UITypeEditor))]
public Shape Shape { get; set; }
public float ShapeOrientation { get; set; }
public string Text { get; set; }
protected internal override void CompleteModify(PointF end, InteractionState ist);
public override bool ContainsPoint(PointF point);
public override bool ContainsPoint(PointF point, float threshold);
} 这是一个别人写的控件的类里面的一个元数据类,这些元数据定义的属性不够我用,我现在还想自己在添加一些属性改怎么做,请高手赐教