We are binding the grid to a collection of items that use data annotation to drive the column headers. Is there a way to automatically bind the tooltip to a particular attribute (or any attribute for that matter)?
Here is our grid:
This is a sample property:
Ideally we'd like something similar to (where Description appears as the tooltip for the column):
Hopefully there is a solution
Thanks
John
Here is our grid:
<
telerik:RadGridView
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
ShowGroupPanel
=
"False"
IsFilteringAllowed
=
"False"
ItemsSource
=
"{Binding Instances}"
AutoGenerateColumns
=
"True"
/>
This is a sample property:
[Display(ResourceType =
typeof
(Resources), Name =
"InstanceViewModel_Name_Name"
)]
public
string
Name
{
get
{
return
InstanceModel.Name; }
set
{
if
(InstanceModel !=
null
)
{
InstanceModel.Name = value;
RaisePropertyChanged(() => Name);
}
}
}
Ideally we'd like something similar to (where Description appears as the tooltip for the column):
[Display(ResourceType =
typeof
(Resources), Name =
"InstanceViewModel_Name_Name"
, Description =
"InstanceViewModel_Name_Description"
)]
public
string
Name
{
...
}
Hopefully there is a solution
Thanks
John