Reputation: 6911
I think all WinForm controls have a Tag property which I found very convenient on occasions. However, this Tag property seems to be gone for WPF controls like DataGrid. Can anybody explain why? Is there a better way in WPF to accomplish this?
Upvotes: 5
Views: 2785
Reputation: 5563
The Tag
property misses meaning. You can use Attached Properties to create more semantic properties on any control.
Upvotes: 0
Reputation: 36775
WPF controls do have a Tag-property (Because of the base-class). However with the concept of the DataContext, the tag-property is not anymore very important.
Upvotes: 9