Microsoft
70-511 · Question #10
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.) 01 <Canvas>…
The correct answer is A. <Rectangle.RenderTransforro>. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.) 01 <Canvas> 02 <Rectangle Stroke="Red" Stroke Thickness="5" Height="60" 03 Width-"60" Canvas. Leftoff Canvas.Top-"100"> 04 05 </Rectangle> 06 </Canvas> You need to rotate the rectangle by 45 degrees by using its upper-left corner as the axis. Which code fragment should you insert at line 04?
Options
- A<Rectangle.RenderTransforro>
- B<Rectangle.RenderTransform>
- C<Rectangle.LayoutTransform>
- D<Rectangle.LayoutTransform>
How the community answered
(36 responses)- A78% (28)
- B3% (1)
- C14% (5)
- D6% (2)
Community Discussion
No community discussion yet for this question.