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 »

SkewTransform of Image in WPF


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



SkewTransform of Image in WPF



The Following Code Snippet Produce when user move the slider Image will be Skew of X axis



This is Layout Transformation so any controls in this layout automatically




< !-- Define Stakc Panel-- >
< StackPanel >
< StackPanel >
< StackPanel.LayoutTransform >
< !-- Binding Slider values into Angle of X axis-- >
< !-- define SkewTransformation -- >
< SkewTransform AngleX="{Binding ElementName=Slider1,Path=Value}" AngleY="30" >< /SkewTransform >
< /StackPanel.LayoutTransform >
< !-- define button -- >
< Button Width="100" Height="100" Content="Show me" FontSize="{Binding ElementName=Slider1,Path=Value}" >< /Button >
< !-- define a Image-- >
< Image Source="images.jpg" Width="100" Height="100" >< /Image >
< /StackPanel >
< !-- define a slider which values can be bind the Skewtransformation Angle properyt -- >
< Slider Minimum="0" Maximum="360" x:Name="Slider1" IsHitTestVisible="True" >< /Slider >
< /StackPanel >



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
SkewTransform of Image 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: Layout Transformation in WPF
Previous Resource: Background Image of Window or Page 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