Layout Transformation in WPF

Layout Transformation in WPF



In Layout Transformation whatever control inside the layout all UI element effect this Transformation


Layouts are StackPanel,Grid etc



Layout Transformation Code




< !-- Define Stack Panel(layout)-- >
< StackPanel >
< !-- here you can define layout transformation-- >
< StackPanel.LayoutTransform >
< !-- define Transformation(like scalar or rotate or skew transformation)-- >
< ScaleTransform ScaleX="1" ScaleY="-1" CenterX="100" CenterY="100" >< /ScaleTransform >
< /StackPanel.LayoutTransform >
< !-- define UI element any thing like button or textbox-- >
< Button Width="100" Height="100" Content="Welcome to Layouts" >
< !-- Image Code-- >
< Image Source="Image.jpg" Width="100" Height="100" >< /Image >
< /StackPanel >


Comments

Author: Prasad 29 Oct 2009 Member Level: Bronze   Points : 0

it is a basic but nice one too



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: