Re: DockSite.Workspace error.
Where I can find detailed definition of all possibl;e properties with all possible values. I learned for VerticalContentAlligmnet="Top" from debugger, but would like to have link or document. ...
View ArticleRe: DockSite.Workspace error.
That API just comes from the core WPF framework: https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.control.verticalcontentalignment
View ArticleRe: DockSite.Workspace error.
I have one window which is displayed by reading XML from a database and displayed using DockSiteLayoutSerializer.DockingWindowDeserializing, but it display completely minimized (Like one row and ve...
View ArticleRe: WindowClosing handler.
I have DockingWindowsDeserializingEventArgs e coming with nullified Tag and Name field. All other fields are set. What can cause that?
View ArticleRe: DockSite.Workspace error.
Hello, The one RaftingHost in there has a Size="0,0" which is odd. Maybe change that to be the size of its Content ("750,500") and see if that helps?
View ArticleRe: WindowClosing handler.
The e.Window can be null if: A SerializationId is specified but no matching docking window is found as current registered in the DockSite. A Name is specified but no matching docking window i...
View ArticleRe: WindowClosing handler.
I have SerializationID and started using it instead of Name, which is not present in saved XML layout. But i still have Tag==null in below event: private void OnLayoutSerializerDockingWindowDeser...
View ArticleRe: WindowClosing handler.
I don't believe our serialization code does anything with the Node.Tag property. I believe it's just there for you to pass custom data around in on your own. I looked in our old pre-2016.1 codeba...
View ArticleRe: WindowClosing handler.
Great! I fixed that customized tag when noticed that i need to use SerializaztionId instead of name from serialized layout XML. Now when i LoadFromString () mine tabbed window is at minimal size ...
View ArticleRe: WindowClosing handler.
Hi Chris, It's hard to say without having something to debug with that shows how that ContainerDockedSize was set. I wouldn't think that a ContainerDockedSize should have any zero values since t...
View ArticleRe: WindowClosing handler.
Actually ContainerDockSize is set properly. Window display in proper size (300, 500), but content (fields, labels, background color) is only in left top corner leaving all screen besided that lef...
View ArticleRe: WindowClosing handler.
The layout serialization just determines how the docking windows and their containers will be positioned after layout load. The content within docking windows themselves should stretch to fill the...
View ArticleRe: WindowClosing handler.
What might be wrong with this code?<docking:DockSite x:Name="dockSite" AreDocumentWindowsDestroyedOnClose="False" CanDocumentWindowsFloat="True" Width="Auto" WindowsClosing="dockSite_WindowCl...
View ArticleRe: WindowClosing handler.
Hello, I don't really see anything wrong with that code. You might want to remove the Width="Auto" from the DockSite and remove the commented out TabbedMdiContainer. You should never name Tabbe...
View ArticleRe: WindowClosing handler.
I now see restored window from saved layout after i set toolWindow.Width and Height, but when window is tabbed it does not stretch horizontally. It is on left with hardcoded width. Below is a co...
View ArticleRe: WindowClosing handler.
Hi Chris, What you are doing there might be the exact cause of the problems you are seeing. You are setting the Width/Height/HorizontalAlignment/VerticalAlignment properties on the ToolWindow. ...
View ArticleRe: WindowClosing handler.
When I do that restored screen have proper docking size, but content width and height is minimal. That way works with older actipro, but new do not save something in XML
View ArticleRe: WindowClosing handler.
The docking windows will stretch their content to fill by default. That is unless you have something that is overriding it (implicit styles you've defined that might do so) or have things like spe...
View ArticleRe: WindowClosing handler.
I fixed it. You was right. No setting Width and Height neccessary. It happened that i had generic widget with: xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="22"...
View ArticleOnFloatingWindowOpened
I want to know when all my documents are floating. I.e. no documents in the main docksite. In OnFloatingWindowOpening if I check the Documents IsFloating property it is false. What is the suggested...
View Article