a guest Jun 30th, 2016 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                     <ControlTemplate TargetType="{x:Type TextBox}">
  2.                         <Grid>
  3.                             <Border x:Name="border" CornerRadius="7" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
  4.                                 <Border.Effect>
  5.                                     <DropShadowEffect/>
  6.                                 </Border.Effect>
  7.                             </Border>
  8.                             <Border CornerRadius="7" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" SnapsToDevicePixels="True">
  9.                                 <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"/>
  10.                             </Border>
  11.                         </Grid>
  12.                         <ControlTemplate.Triggers>
  13.                         <!-- и так далее -->
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