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