Limit the resize of the toolwindow in docksite using splitter upto a particular height or width.

Docking/MDI for WPF Forum

Posted 7 years ago by keshav bansal
Version: 12.1.0562
Avatar

Hi,

How to restrict the resize of the toolwindow upto a particular height or the width using the dockingSpliter ?

<docking:DockSite x:Name="BaseDocksite1"><docking:Workspace>
<docking:DockSite Grid.Row="0" x:Name="docksite1" WindowDragging="docksite1_WindowDragging">
<docking:ToolWindowContainer>
<docking:ToolWindow x:Name="Toolwindow1" Title="window1" CanRaft="True">
<Button Height="Auto" Content="SampleToolWindow"></Button>
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:DockSite>
</docking:Workspace>
</docking:DockSite>

As in the ablove sample docksite1 is linked with the BaseDocksite1.Suppose i drag the toolwindow1 from the docksite1 and docked it to the top of the Basedocksite1 and suppose  now the height of the toolwindow1 is 100 and  Limit the resize of the toolwindow should be like that user should not be able to resize the toolwindow1 using the docking splitter of height  from less than 75 and user can resize the toolwindow1 of height more than 75.

Comments (2)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Keshav,

You've asked this question a number of times in the past.  I'm sorry but we don't support minimum, maximum, or fixed docking window sizes.


Actipro Software Support

Posted 7 years ago by keshav bansal
Avatar

Hi,

But this is  critical and necessary requirement in our project.

[Modified 7 years ago]

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.