Given the object graph below I need to have 2 different style applied depending on whether the Parent object has any children or not.
I am unsure how to go about setting the style on a condition like this, can anyone help please?
Parent (Object)
Prop1 (string)
Prop2 (string)
Children (List<Object>)
Thanks in advance.