C#C
C#2y ago
.tree

(Xamarin.Forms) Setting DataTemplate for view with DataTrigger

Here is my XAML: https://paste.ofcode.org/yAqAF7mfcjfgimjNsvP9ny

My goal is this: This view has data context SortCondition. I want to set the datatemplate that I defined in resources based on a property in SortCondition (AnotherCondtion, which is of type SortCondition itself). When it's set to an object I want to display the datatemplate SortAttributeConditionTemplate, but it doesnt show anything. What am I doing wrong?
Was this page helpful?