TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jason
NA
3
0
[C#] WPF Button with Image and Text
Apr 18 2010 9:23 AM
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.
Reply
Answers (
4
)
canvas children can't drag out of the canvas boundaries
Simpel Drag and Drop an Ellipse into another ellipse