You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am adding a new Document to DocumentsSource but despite it's adding the Document, it doesn't show the DropDownContextMenu when I click the tab... I don't know if there is something I'm not doing...
When or how is setted the value of the DependencyProperty DropDownContextMenuProperty??? If I debug, its always null...
I am adding the manager to my mainview via c# code... not in the xaml, is there anything missing??:
DockingManager manager = new DockingManager();
manager.DocumentsSource = Maps;
manager.LayoutItemContainerStyle = LayoutItemContainerStyle;
var layoutItemTemplateSelector = new PanesTemplateSelector();
layoutItemTemplateSelector.MapViewTemplate = CreateMapViewTemplate();
manager.LayoutItemTemplateSelector = layoutItemTemplateSelector;
LayoutRoot root = new LayoutRoot();
var hPanel = new LayoutPanel();
hPanel.Orientation = Orientation.Horizontal;
root.RootPanel = hPanel;
manager.Layout = root;
var mainPane = new LayoutDocumentPane();
var mainPaneGroup = new LayoutDocumentPaneGroup();
mainPaneGroup.Children.Add(mainPane);
hPanel.Children.Add(mainPaneGroup);
The text was updated successfully, but these errors were encountered:
I am adding a new Document to DocumentsSource but despite it's adding the Document, it doesn't show the DropDownContextMenu when I click the tab... I don't know if there is something I'm not doing...
When or how is setted the value of the DependencyProperty DropDownContextMenuProperty??? If I debug, its always null...
I am adding the manager to my mainview via c# code... not in the xaml, is there anything missing??:
DockingManager manager = new DockingManager();
manager.DocumentsSource = Maps;
manager.LayoutItemContainerStyle = LayoutItemContainerStyle;
var layoutItemTemplateSelector = new PanesTemplateSelector();
layoutItemTemplateSelector.MapViewTemplate = CreateMapViewTemplate();
manager.LayoutItemTemplateSelector = layoutItemTemplateSelector;
LayoutRoot root = new LayoutRoot();
var hPanel = new LayoutPanel();
hPanel.Orientation = Orientation.Horizontal;
root.RootPanel = hPanel;
manager.Layout = root;
var mainPane = new LayoutDocumentPane();
var mainPaneGroup = new LayoutDocumentPaneGroup();
mainPaneGroup.Children.Add(mainPane);
hPanel.Children.Add(mainPaneGroup);
The text was updated successfully, but these errors were encountered: