RenderTransformOrigin Property
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element.
XAML |
<object RenderTransformOrigin="Point" .../>
|
Scripting |
value = object.renderTransformOrigin object.renderTransformOrigin = value |
Property Value
The center point of the render transform.
This property is read/write. The default value is a point with value 0,0.
Remarks
This property is one of several ways to offset an object in layout. Other options include Canvas.Left / Canvas.Top, or TranslateTransform. For more information, see Object Positioning in Silverlight.
Applies To
Canvas, Ellipse, Glyphs, Image, InkPresenter, Line, MediaElement, Path, Polygon, Polyline, Rectangle, TextBlock