I have a canvas with a RenderTransform applied like so:

<Canvas RenderTransform="0.1,0,0,-0.1,0,913">

Can anyone tell me what these values mean? I can't seem to find what converter is being used to parse these values.

有帮助吗?

解决方案

As the RenderTransform is a Transform it probably uses the TransformConverter which in turn probably creates a MatrixTransform; from its documentation:

<object property="m11, m12, m21, m22, offsetX, offsetY"/>

I unnecessarily went ahead and checked the code, the converter calls Transform.Parse:

Creates a new Transform from the specified string representation of a transformation matrix.

For more information, see the XAML Attribute Usage section of the MatrixTransform class page.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top