How do I make the Expander button to be justified to the right, rather than the left which is the default ?
If you require justifying the Expander button to the right, you need to set the FlowDirection property to RightToLeft.
Note: If you set the FlowDirection to RightToLeft, the content of the expander will also be moved to RightToLeft justification. In order to avoid this, you can set the flow direction to expander content. This can be done with the following code snippets,