DependancyProperty attach to a property of a property
-
21-08-2019 - |
Question
I have a workflow with a property in it, declared like this:
public Person userAccount {get;set;}
Person is a class with it's own properties (like Person.Name) and with WF I can bind to the userAccount property fine yet I can't seem to bind to the userAccount.Name.
Is it possible to do this? If so what do I need to change?
Solution 2
It is possible and so logical just the Visual Studio editor has some issues doing it. Your path property would just need to be a set correctly.
Example (taking my scenario from above):
Activity=BusinessProcess, Path=userAccount.Name
OTHER TIPS
No
i don't think that its possible to driectly bind to Memebers of Variables in Workflow
you will have to bind to entier class i.e. userAccount
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow