TabbedMdiHost HasTabImages - control the alignment?
I set the HasTabImages on the TabbedMdiHost and the tabs show the image and then the tab title. I am wondering if there is a way to have it show the tab title and then the image (i.e. place the ima...
View ArticleRe: DockSite / Tab "Header" - Upgrade from 2015 to 2019 challenge
Hi Brad, That is correct, the data contexts get tricky if you are using UIElements as your DocumentItemsSource. We have to prevent the normal data context from being passed in for certain scenar...
View ArticleRe: DockSite / Tab "Header" - Upgrade from 2015 to 2019 challenge
I've tried this, but binding the DockingWindow.Content property doesn't seem to work. I defined a property on my DockItem class called "ItemContent" (of type UIElement). Then in my Style for the Do...
View ArticleRe: DockSite / Tab "Header" - Upgrade from 2015 to 2019 challenge
Hi Brad, Yes, that's true, it's likely binding the DockItem data item as the DockingWindow.Content. The general intent with our MVVM support is for you to supply a DataTemplate for the "Content"...
View ArticleRe: TabbedMdiHost HasTabImages - control the alignment?
Hi Brad, Per the other thread, I would recommend not using a UIElement as your DockSite.DocumentItemsSource. Then you could make use of the context content feature that shows an optional context...
View ArticleRe: DockSite / Tab "Header" - Upgrade from 2015 to 2019 challenge
I got things to work. I first tried to set the ContentTemplate of the DocumentWindow in the Style I defined and was specifying in the DockSite.DocumentItemContainerStyle property. That did not work...
View ArticleRe: DockSite / Tab "Header" - Upgrade from 2015 to 2019 challenge
Hi Brad, It works like an ItemsControl where we have this method: protected virtual void PrepareContainerForItemOverride(DockingWindow container, object item, DockingWindowItemKind kind) { if ...
View ArticleRe: TabbedMdiHost HasTabImages - control the alignment?
Yep - I changed the DockItem class so no longer a UIElement and now able to use the TabbedMdiTabContextContentTemplate as desired. Thanks!
View ArticleHide a Tab in TabbedMdi?
I have a TabbedMdiContainer with several DocumentWindows. I want to be able to "hide" one of the windows (and therefore its corresponding Tab). I first tried binding the Visibility property of the ...
View ArticleUpdating to latestet version
Hello guys I am trying to update from version=17.1.651.0 to Version=19.1.684.0 After I installed and changed the refereance to the new .dll's, I upateded the Licenses.licx file to: Actipr...
View ArticleFloatingToolWindowContainersHaveMaximizeButtons equivalent property for...
The DockSite has 2 properties: FloatingToolWindowContainersHaveMaximizeButtons and FloatingToolWindowContainersHaveMinimizeButtons; but I don't see any obvious properties for floating Document Wind...
View ArticleRe: Hide a Tab in TabbedMdi?
Hi Brad, Correct, you should never modify the Visibility property and should bind to the IsOpen property instead. Your example above won't work because you don't have any proper data context for...
View ArticleRe: Updating to latestet version
Hi Emir, No, the PublicKeyToken wouldn't affect that. My guess is that if you verified that you changed all the references on your main application project and the licenses.licx file entry now p...
View ArticleRe: Hide a Tab in TabbedMdi?
So I made the change and my trivial example works. However, making the change in my actual application is not working. I think I need to better understand how DataContext works for the DocumentWi...
View ArticleRe: Hide a Tab in TabbedMdi?
P.S. - I replicated my Binding issue by making some simple changes to my sample app. I created a simple UserControl that contains a dockSite with static DocumentWindows. I then modified the DockSit...
View ArticleRe: Hide a Tab in TabbedMdi?
Hi Brad, We tried to make DockSite work as closely to a normal ItemsControl as possible. Take a ListBox for example. ListBox generate a "ListBoxItem" container (which inherits ContentControl)...
View ArticleRe: FloatingToolWindowContainersHaveMaximizeButtons equivalent property for...
Hi Brad, You can do something like this override on DockSite... note this method is called for all WPF Windows that host document or tool windows: protected override void InitializeFloatingWindo...
View ArticleRe: FloatingToolWindowContainersHaveMaximizeButtons equivalent property for...
Thanks, this worked like a champ....now for a follow-up question :) In v2015 if I floated a window and then double-clicked on the title bar of the window it would re-dock. Now when I double-click...
View ArticleRe: FloatingToolWindowContainersHaveMaximizeButtons equivalent property for...
Hi Brad, Sorry but a floating tool window title bar is now treated as a Win32 title bars so that when performing actions like dragging, the host Window can participate in Aero snap and other feat...
View ArticleRe: FloatingToolWindowContainersHaveMaximizeButtons equivalent property for...
I have DocumentWindows, not ToolWindows. Will ToolWindowContainer.Dock still work? If so, how am to get the ToolWindowContainer instance? When I have a floating window, I can right-click on the t...
View Article