hai guys i need your help to create a rectangle button with xaml.
if we create a default button will rounded rectangle but开发者_Python百科ton. and i not found corner radius setting.. please help me..
You have to create your own Style for your button. Take a loot at this example, and then you can play with RadiusX RadiusY properties of both Rectangles to avoid rounded rectangle.
Your basic style would be:
<Rectangle>
    <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Rectangle>
That would be a very basic button style that has rect corners. I still suggest to read blurg's link for more info, as this can be very flexible and/or complex ;)
Cheers.
Take a look at the MSDN example for creating fancy buttons here. Also take a look at the answer to this question.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论