Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2940
Query in Content pane.
posted

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.

Parents
No Data
Reply
  • 138253
    Offline posted

    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.

    XamDockManagerHidePane.zip
Children