Hi.. i am using XamDockManger in my project & in that i am using Content pane.Inside content pane i am using expander.
<igWPF:XamDockManager Name="DetailsXDMLayout" LayoutMode="FillContainer"> <igWPF:XamDockManager.Panes> <igWPF:SplitPane SplitterOrientation="Vertical"> <igWPF:SplitPane SplitterOrientation="Horizontal">
<igWPF:ContentPane x:Name="StatusContentpane">
<Expander Header="Status" IsExpanded="True">
<Border BorderBrush="Black" BorderThickness="1"> <igwf:XamDataGrid Name="Statusgrid" /> </Border> </Expander> </igWPF:ContentPane>
</igWPF:SplitPane>
</igWPF:SplitPane> </igWPF:XamDockManager.Panes> </igWPF:XamDockManager>
DataSource i am setting at backend.Small problem is if i close/Collapse expander content pane should also close.How can i do this? Plz solve this & send me a sample code.
Hello Shankar,
Thank you for your post. I have been looking into it and I created a sample project for you, using your code, with the functionality you want. Basically I handled the Expander’s Collapsed event and set the ContentPane’s IsPinned Property to false and executed the FlyIn ContentPaneCommad in order to hide the pane. You can also use the Close Command if you want to close the ContetnPane. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.