Tag Archives: Blend

Making your buttons smile … with XAML.


Making a button “smile” in XAML, firstly create an empty button style – this will come in very useful. <Style x:Key=”EmptyButton” TargetType=”Button”> <Setter Property=”Cursor” Value=”Hand” /> <Setter Property=”Template”> <Setter.Value> <ControlTemplate TargetType=”Button”> <Grid x:Name=”RootElement”> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name=”CommonStates”> <VisualState x:Name=”Normal” /> <VisualState … Continue reading

Posted in c#, XAML | Tagged , , | Leave a comment