Why is the RenderSize width/height returns 0 after scaling? I thought LayoutTransform is suppose to affect the layout, thus change a control's ActualWidth and ActualHeight?
So how do I get the control size after scaling?
3 Answers, 1 is accepted
0
Victor
Telerik team
answered on 21 Feb 2013, 08:33 AM
Hello Victor,
The layout transform sets its own width and height after rendering its content with its layout transform. The size of the content element will not change, because a RenderTransform has no effect on its size properties. The layout transform control corresponds to the size of the bounding box of the its content.
Please use the Width and Height properties of RadLayoutTransformControl.
Greetings,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
You need the Width and Height properties of your radLayoutTransformControl instance. The transformation itself does not have Width and Height properties. What you're looking for is radLayoutTransformControl.Width / Height.
Greetings,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.