May 2010
Intermediate to advanced
1272 pages
61h 18m
English
RotateTransformRotateTransform is a transformation that enables rotating a visual element for the specified number of degrees and at the specified position. The following code adds a ListBox in the upper-left cell, and it is rotated 180 degrees:

Notice how the Angle property specifies the degrees, whereas CenterX and CenterY represent the position of rotation. In the preceding example the rotation comes in at the center of the ListBox (both values are the half of Width and Height). Generally transformations are automatically reflected to the designer, so you should see the result of what you are doing. Figure 33.11 shows the result of ...
Read now
Unlock full access