public void SetContent(AbstractContent content) { if (content != null) { this.content = content; } }
protected AbstractMeasureContent(AbstractAttributes attributes, AbstractContent content) { this.attributes = attributes; this.content = content; System.Windows.Controls.Canvas.SetLeft(content.GetVisualControl(), attributes.GetVisualWidth()); }