- Get link
- X
- Other Apps
This article demonstrates how to customize a Button control in WPF - C# Application. 1. Add a Button Control Add Button Control in WPF Application from Toolbox . then we can see the button in Design Pane with default template and in XAML Pane we can see the the XAML Code for ebow button. < Button Content ="Button" HorizontalAlignment ="Left" VerticalAlignment ="Top" Width ="75" Margin ="21,33,0,0"/> 2.Add Image in Button Add an Image in our project ( How to Add Image in WPF C# Application ? ) in these section we set an image and a label control as buttons content. use the XAML code as shown below < Button HorizontalAlignment ="Left" VerticalAlignment ="Top" Width ="100" Height ="28" Margin ="21,57,0,0"> < Button.Content > < Grid > < Grid.ColumnDefin