RenderTransformOrigin

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the center point of any possible render transform that is declared by the RenderTransform property, relative to the bounds of the element.

<object RenderTransformOrigin="X,Y"  .../>
value = object.RenderTransformOrigin
object.RenderTransformOrigin = value

Property Value

Type: Point

The center point of the render transform.

This property is read/write. The default value is a point with value 0,0.

Managed Equivalent

RenderTransformOrigin

Remarks

This property provides one of several ways to offset an object in layout. Other options include Canvas.Left and Canvas.Top, or TranslateTransform.

Applies To

Border (Silverlight 2)

Canvas

Ellipse

Glyphs

Image

InkPresenter

Line

MediaElement

PasswordBox (Silverlight 2)

Path

Polygon

Polyline

Popup (Silverlight 2)

Rectangle

StackPanel (Silverlight 2)

TextBlock

TextBox (Silverlight 2)

See Also

Reference