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
Romain
NA
76
39.5k
How to bind MinWidth of DatagridTemplateColumn
Sep 11 2014 11:13 AM
Good morning,
I am using a datagrid which contain 3 columns. The second columns contains text from a observable collection. I would like to bind the "MinWidth" property of the column with the size of a text of the observable collection. Actually I would like to have the "MinWitdh" equals to the number of characters of the largest text. I created a mechanism to do that and it is working when I bind the property "Width" but not with "MinWidth" and I don't know why so if someone has an idea.
Thanks in advance.
Reply
Answers (
0
)
Hiding buttons before getting response from server in WPF
DirectoryNotFound exception on deleting folder using WPF