Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why WPF controls don't have Tag property?

Tags:

wpf

controls

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?

like image 656
newman Avatar asked Jun 11 '11 16:06

newman


1 Answers

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.

like image 197
HCL Avatar answered Sep 21 '22 08:09

HCL