I am rehosting WF4 workflow designer.
For a state machine, I don't know how to provide a "FinalState" via sapt:ToolboxItemWrapper in XAML.
There is no FinalState class, only a State class for "regular" states. State class has a IsFinal property, so I guess it has to be set in order to become a "FinalState".
I tried deriving my own FinalState class from State that would set IsFinal in the constructor, but it doesn't work as State is sealed.
So how can I provide FinalState from XAML?