4
Answers

[C#] WPF Button with Image and Text

Photo of Jason

Jason

15y
17.1k
1

I wasn't sure whether or not to put this in C#, WPF, or XAML, but hopefully this will work.
I'm trying to use C# and WPF to enter buttons that have a picture next to them. I followed this tutorial:
http://www.c-sharpcorner.com/Resources/Detail.aspx?ResourceId=629
But it seems like once you use the image like that, it fills it in as the "content", therefore text cannot be typed.
Is there any easy way to just put a picture on the left side of the button, and text to the right? I really rather not modify every image with the text just to have this happen.
 
Thanks everyone.

Answers (4)

0
Photo of Mahesh Chand
2 286.9k 123.7m 18y
Here are some good article show what is new in SQL Server 2005.
http://www.dotnetheaven.com/Article/frmDisplayArticles.aspx?SectionID=7
0
Photo of Mehul B
NA 10 0 18y
New Business Intelligence included... Report Service as well as XML datatype has been included. Other lots of changes has been done.
Check out this link. Hope it will help you...

http://www.devx.com/dbzone/Article/21539