0
にはどうすればいいのControlTemplateするポリゴンを追加することができとControlTemplate to button
どのように私はこれを行うことができますが、コードに:のControlTemplate WPF
<Button x:Name="btnNew" Content="click me" HorizontalAlignment="Left" Margin="54,10,0,0" VerticalAlignment="Top" Width="250" Height="250" BorderThickness="0" UseLayoutRounding="True" >
<Button.Template>
<ControlTemplate>
<Polygon x:Name="poly" Points="0,50 200,20 230,150 20,200">
<Polygon.Fill>
<ImageBrush x:Name="imgtem" Stretch="Fill" ImageSource="Images/67.png">
</ImageBrush>
</Polygon.Fill>
</Polygon>
</ControlTemplate>
</Button.Template>
</Button>
[実行時にWPFのControlTemplateを定義]の可能複製(https://stackoverflow.com/questions/732736/define-a-wpf-controltemplate-at-runtime ) – ASh