Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
[C#] WPF Button with Image and Text
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Jason
14y
17.1k
1
Reply
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.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
canvas children can't drag out of the canvas boundaries
Simpel Drag and Drop an Ellipse into another ellipse