Saturday, 4 January 2014

Hide Border, Create Curved Border, Apply Gradient to A Button in WPF

Welcome,

1. Hide Button border in WPF Button Control,  Add below property

Opacity="0.99" Style="{DynamicResource TransperentStyle}"
This is help full in MENU ITEM Creation with button command

2. Make a curved border by applying below property:

Curved Border = "8,8,8,8".

3. Apply Gradient like below


  1:             <Border.BorderBrush>
  2:                 <LinearGradientBrush StartPoint="0,1" EndPoint="1,0">
 3:                     <GradientStop Offset="1" Color="AliceBlue"/>
 4:                     <GradientStop Offset="0" Color="DarkBlue"/>
 5:                 </LinearGradientBrush>
 6:             </Border.BorderBrush>

1 comment:

  1. No one can lie, no one can hide anything, when he looks directly into someone's eyes. See the link below for more info.

    #hide
    www.ufgop.org

    ReplyDelete