■ PlaneProjection 엘리먼트를 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<Grid> <Rectangle Width="400" Height="300" Fill="Black" Opacity="0.2" /> <Border BorderThickness="5" BorderBrush="Black" Width="400" Height="300"> <Border.Projection> <PlaneProjection CenterOfRotationX="0.5" CenterOfRotationY="0.5" CenterOfRotationZ="0" RotationX="-35" RotationY="-35" RotationZ="15" /> </Border.Projection> <StackPanel Background="Gold"> <TextBlock Margin="10"> Type Something Below </TextBlock> <TextBox Margin="10"></TextBox> <Button Margin="10" Width="100" Content="Click" /> </StackPanel> </Border> </Grid> |