Hello all,
I am using a telerik ragdridview in my wpf view.In one of the column of telerik
radgridview i am usingGridViewImageColumn .once
the document in one grid column loads successfully the image column will show
success icon else failure icon.But the problem is after completing of this
process once i clik on filtering icon (top of rad grid) of the image
column text is showing as "System.Window.Control.Images" instead of
icon symbols.
I had overrideen the FilteringDisplayFunc of
GridViewImageColumn..My code is :
xaml:
code behind:
please
suggest what to do to get the icons in filtering also.
I am using a telerik ragdridview in my wpf view.In one of the column of telerik
radgridview i am usingGridViewImageColumn .once
the document in one grid column loads successfully the image column will show
success icon else failure icon.But the problem is after completing of this
process once i clik on filtering icon (top of rad grid) of the image
column text is showing as "System.Window.Control.Images" instead of
icon symbols.
I had overrideen the FilteringDisplayFunc of
GridViewImageColumn..My code is :
xaml:
<
img:ImageFilterColumn
DataMemberBinding
=
"{BindingDocumentStatus}"
Header
=
"{BindingHeaderStatus}"
ImageStretch
=
"None"
ShowFieldFilters
=
"False"
/><
br
>
code behind:
PublicClass ImageFilterColumn Inherits GridViewImageColumn
<
br
><
br
>e<
br
><
br
>ProtectedOverridesReadOnlyProperty FilteringDisplayFunc() As Func(OfObject, Object)
GetReturnAddressOf ImageFilterColumn.ConvertUriStringToImage
EndGetEndProperty
PublicSharedFunction ConvertUriStringToImage(uriString AsObject) AsObject
Dim image As Image = New Image()
image.Source = New BitmapImage(New Uri(uriString.ToString()))
Return image
EndFunction
EndClass<
br
>
please
suggest what to do to get the icons in filtering also.