I have a Class Aa that inherits from Appointment and in addition, I have created Classes Bb and Cc.
Class Aa contains two properties, BbProperty and CcProperty.
This logic is to be able to work with two different types of appointments.
My goal is to be able to give one custom EditDialog when Aa.BbProperty is pressed
And another custom EditDialog when Aa.CcProperty is pressed.
I can distinguish when its BbProperty and when its CcProperty as you can see in the picture,
That I created a different template for each of them.
I was able to change properties of the DialogWindow like background,
But I want a completely different template for each of the types.
I am attached my example project here,
Would appreciate help,
Thanks