The text of this article is not in this database — only its details are. Read it on the old site: Silverlight- Slider Control Part 2
1 Comment
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Silverlight- Slider Control Part 2
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Greg MulvihilleditedPosted Feb 25, 2011, 9:21 PMEdited Feb 25, 2011, 9:30 PM
<Grid x:Name="LayoutRoot"> <Image Source="/SilverlightApplication1;component/Images/Waterfall.jpg" RenderTransformOrigin="0.5,0.5" > <Image.RenderTransform> <TransformGroup> <ScaleTransform ScaleX="{Binding ElementName=ScaleTransformSlider,Path=Value}" ScaleY="{Binding ElementName=ScaleTransformSlider,Path=Value}" /> </TransformGroup> </Image.RenderTransform> </Image> <Slider x:Name="ScaleTransformSlider" Maximum="10.0" Minimum="0.0" Value="1.0" VerticalAlignment="Bottom" /> </Grid>