C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Application windows, menus & toolbars »

Layout Transformation in WPF


Posted Date: 15 Aug 2009    Resource Type: Code Snippets    Category: Application windows, menus & toolbars
Author: K'ranMember Level: Gold    
Rating: 1 out of 5Points: 7



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 >





Responses

Author: Prasad     29 Oct 2009Member Level: Bronze   Points : 0
it is a basic but nice one too


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Layout Transformation in WPF  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Create Text with a Shadow
Previous Resource: SkewTransform of Image in WPF
Return to Discussion Resource Index
Post New Resource
Category: Application windows, menus & toolbars


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use