daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <StackPanel Width="200">  
  2.     <TextBox x:Name="tb">Hello world</TextBox>
  3.     <Rectangle Height="40" HorizontalAlignment="Stretch">
  4.       <Rectangle.Fill>
  5.         <VisualBrush Visual="{Binding ElementName=tb}"  />
  6.       </Rectangle.Fill>
  7.       <Rectangle.RenderTransform>
  8.         <ScaleTransform CenterY="20" ScaleY="-1" />
  9.       </Rectangle.RenderTransform>
  10.       <Rectangle.OpacityMask>
  11.         <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
  12.           <GradientStop Color="#00000000" Offset="0" />
  13.           <GradientStop Color="#FFFFFFFF" Offset="1" />
  14.         </LinearGradientBrush>
  15.       </Rectangle.OpacityMask>
  16.     </Rectangle>
  17.   </StackPanel>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top