Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to add a BarItem that allows switching between all opened MDI documents

$
0
0

The example illustrates how to add a BarItem with a collection of sub items, which will allow switching between all opened MDI documents in the DocumentGroup. This behavior can be achieved by binding BarLinkContainerItem.ItemLinksSource to the DocumentGroup.Items collection. Place the DataTemplate with the BarCheckItem control to the BarLinkContainerItem.ItemTemplate property. Bind the BarCheckItem.Content property to the DocumentPanel.Caption property to display DocumentPanel's header value in the BarItem's content. Set the BarCheckItem.IsChecked property to DocumentPanel.IsActive by using the Binding to allow switching between all DocumentPanels.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>