Exemplo n.º 1
0
        private void MainTap_TabAdding(object sender, TabControlTabAddingEventArgs e)
        {
            var View = new AddSourcesView();

            e.Item = new DXTabItem()
            {
                Header = "Custom Item", Content = View.Content
            };
        }
Exemplo n.º 2
0
        private void AddSourcesViewBut_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            var View = new AddSourcesView();

            addTabItem(View, e.Item.Content.ToString());
        }