Click here to Skip to main content
15,746,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please tell how to make expander control to expand Horizontally from right to left.
I have tried with following Xaml code but it is not working

<canvas height="338" name="canvas1" width="280">
        <expander canvas.left="10""10" header="expander1" height="100" name="expander1" expanddirection="Right">
            <stackpanel height="100" name="stackPanel1" width="200">
                &lt;Button Content="Button" Height="23" Name="button1" Width="75" /&gt;

please help me out....
Updated 23-Nov-11 4:59am

1 solution

Try specifying the width to the expander.
<expander canvas.left="10""10" header="expander1" width="250" height="100" name="expander1" expanddirection="Right">

Refer below link for more details if you would like to use grid instead of canvas.
WPF Expander[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900