I have made a custom suface button according this example:
<Button>
<Button.Template>
<ControlTemplate TargetType="Button">
<Grid>
<!-- my custom shape -->
<Polygon
Points="400,150 100,350 100,350, 500,350"
Stroke="Purple"
StrokeThickness="2"
Name="L1">
<Polygon.Fill>
<SolidColorBrush Color="Blue" Opacity="0.4"/>
</Polygon.Fill>
</Polygon>
<ContentPresenter />
</Grid>
</ControlTemplate>
</Button.Template>
</Button>
But there is a problem with styles - there is no behaviour when touched/holded/released. Could you give me a clue how to do that?
thanks