© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
.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
SortCondition
. I want to set the datatemplate that I defined in resources based on a property in
SortCondition
SortCondition
(
AnotherCondtion
AnotherCondtion
, which is of type
SortCondition
SortCondition
itself). When it's set to an object I want to display the datatemplate
SortAttributeConditionTemplate
SortAttributeConditionTemplate
, but it doesnt show anything. What am I doing wrong?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Setting Up First Xamarin FOrms
C#CC# / help
4y ago
XAMARIN.FORMS BLUETOOTH ISSUE
C#CC# / help
3y ago
problem with reading file in xamarin forms
C#CC# / help
4y ago
Xamarin.Forms UWP Publish issue
C#CC# / help
3y ago