Several columns in my gridView are bound to custom objects and use converters to convert an enum into a displayable value. Imagine this scenario:
class CustomObject |
{ |
EnumPropertyType Property; |
[other members] |
} |
enum EnumPropertyType |
{ |
VALUE1, VALUE2, VALUE3; |
} |
A grid column will be bound to an object of type CustomObject. Based on the value in member property (VALUE1, VALUE2, etc) inside the column cell will be displayed an icon trough the use of a converter. The user will select on or more criteria (VALUE1, VALUE2, VALUE1 OR VALUE2, etc) in a custom row filter menu (like in the custom row example).
I would like to be able to filter that column however I don't understand how to configure/bind the composite filter to use the Property member of the CustomObject when it filters (since the column cells will only contain an icon). Secondly, I don't understand how the association between a composite filter and a particular column is being made, such that when handling the Click event, I can retrieve the composite filter that is associated with that column.
Any help would be appreciated.
Thank you.