I want to make my button transparent. im Doing opacity 0 but it doest not worked for me. How I Can Make My Button Transparent in normal and pressed state.
<Button VerticalAlignment="Top" HorizontalAlignment="Left" Width="140" Height="80" Margin="0,240,0,0" >
<StackPanel Orientation="Horizontal">
<Image Source="/Images/Search.png"/>
</StackPanel>
</Button>
Are you looking to use the Search.png image as your button?
If you are, why not hook into the MouseLeftButtonDown event to perform a particular action.
I am not sure what you are gaining by wanting to replace the whole of the button control with an image and then making the button itself transparent.