I have run into a similar situation where I would like to filter for a parent based on a value within a child. Is there any way to do this without hardcoding the values in the LINQ query? I am using VB so I can use a parameterized property like this:
In this case I could set the ItemPropertyDefinition's PropertyName to HasMatchingChild and it's PropertyType to Boolean. I would then set the DataTemplate to show a textbox to get the parameter to search by. What I can't figure out is how I would then use the textbox's value as the parameter for HasMatchingChild. Is this even possible?