Home Forums WPF controls Xceed DataGrid for WPF Approprite Event for Filter after Items.Refresh ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24240 |

    I am trying to outsource the DataGridCollectionView to a Resource Dictionary.

    The Filter=”MyFilter” cannot be added as its in a Resource Dictionary.

    I thought about an Event after a DataGridControl Items Refresh but possible the best way is to add the Filter to the DGVC ?? or if an event — which one ??

    Anyone confirm this is the way to go (and small example please!)…

    Cheers,

    Dezzz

    Imported from legacy forums. Posted by Desmond (had 760 views)

    Xceed Support
    Member
    Post count: 5658

    1- Provide an x:Class to the resource dictionary

    2- Create a code-behind file that is a partial class with the same name as your resource dictionary and that derives from ResourceDictionary.

    3- Place your Filter event in this partial class.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2635 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.