<img:ImageFilterColumn DataMemberBinding="{Binding DocumentStatus}" Header="{Binding HeaderStatus}" ImageStretch="None" ShowFieldFilters="False" />
Public Class ImageFilterColumn Inherits GridViewImageColumn
Protected Overrides ReadOnly Property FilteringDisplayFunc() As Func(Of Object, Object) Get Return AddressOf ImageFilterColumn.ConvertUriStringToImage End Get End Property Public Shared Function ConvertUriStringToImage(uriString As Object) As Object Dim image As Image = New Image() image.Source = New BitmapImage(New Uri(uriString.ToString())) Return image End Function End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)