Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Using RenderTransform

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Center" VerticalAlignment="Center">     <StackPanel Orientation="Horizontal">       <TextBlock>         <TextBlock.RenderTransform>           <TransformGroup>             <ScaleTransform ScaleX="2" ScaleY="2" />             <RotateTransform Angle="10" />           </TransformGroup>         </TextBlock.RenderTransform>         Hello,       </TextBlock>       <TextBlock>world</TextBlock>     </StackPanel> </Page>