July 2015
Intermediate to advanced
1300 pages
87h 27m
English
SkewTransform enables you to skew a visual element for the specified angles on both the X-axis and Y-axis, simulating 3D depth for 2D objects. The following code demonstrates how to apply to a ListBox a horizontal skew of 15° and a vertical skew of 30°, where the center point is established by CenterX and CenterY properties:
<ListBox Name="SkewListBox" Grid.Row="1" Grid.Column="0" Style="{StaticResource ListStyle}"> <ListBox.RenderTransform> <SkewTransform AngleX="15" AngleY="30" CenterX="50" CenterY="50" /> </ListBox.RenderTransform></ListBox>
Skewing is probably the most impressive transform if you then try to use visual elements and controls, ...