Hello,
My need is very simple : in a GridViewColumn, I just want to display a small icon (accept.png) when Islocked=True.
And the code below is not working....
<
telerik:GridViewDataColumn
IsReadOnly
=
"True"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
Image
Name
=
"ImgVerrou"
Source
=
"/WpfApplication1;component/Resources/accept.png"
Visibility
=
"Collapsed"
/>
<
DataTemplate.Triggers
>
<
DataTrigger
Binding
=
"{Binding IsLocked}"
Value
=
"True"
>
<
Setter
Property
=
"Visibility"
Value
=
"Visible"
TargetName
=
"ImgVerrou"
/>
</
DataTrigger
>
</
DataTemplate.Triggers
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
Thank you for your advice.
Xavier