Edit this page

Applied DataFormatString on a Column

Why isn’t this format used when performing filtering?

The DataFormatString is only used for presentation purposes. It plays absolutely no part in the data engine and all filtering, sorting and grouping operations are always performed on raw data values in the data engine.

Each GridViewColumn has a property called FilterMemberPath. You can use this property to tell the column to filter on a property different from the one it displays in its cells.

For example: FilterMemberPath="PropertyToFilterOn". You can also check the FilterMemberPath documentation.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article