I'm using DevExpress controls. I have a DocumentLayoutManager in that I have DocumentGroup. For Example:
<dxdo:DocumentLayoutManager>
<dxdo:DocumentGroup x:Name="dcGroup"/>
</dxdo:DocumentLayoutManager>
Also I have Buttons. For Example:
<Button x:Name="btn1" Command{Binding btn1Click}/>
<Button x:Name="btn2" Command{Binding btn2Click}/>
I'm loading Tabs in DocumentGroup from ViewModel on respective button click(Ex: btn1click = TabItem1 & btn2click = TabItem2). Now if user clicks btn1 & btn2 then both Tabs get open, now my question is if user closes any of the tabItem which is already open and then clicks on the button again then i need to show that tab in DocumentGroup again.