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>
의 가능한 복제 https://stackoverflow.com/questions/732736/define-a-wpf-controltemplate-at-runtime) – ASh