Custom Shaped Button in WPF [closed]
I have a requirement of creating a button which takes the shapes as displayed in the picture: Can anyone please help me? Thanks in advance! You could use a ControlTemplate to achieve that: <Style x:Key="ButtonStyle" TargetType="{x:Type Button}"> <Setter Property="Background" Value="Black"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Path Fill="{TemplateBinding Background}" Data="M 0,0 A 100,100 90 0 0 100,100 L 100,100 100,0" /> </ControlTemplate> </Setter.Value> </Setter> </Style> Than you apply it to the button: <Button Style="{StaticResource