We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to restrict the resizing of the FloatWindowHeight?

The resizing of the height of the float window can be restricted by using the CanResizeHeightInFloatState property. This property is Boolean. It restricts the resizing of the height of the float window of the corresponding floating child depending upon its values. When the CanResizeHeightInFloatState property is set to true, the height of the float window can be resized and when the CanResizeHeightInFloatState property is set to false, the height cannot be resized. The same has been demonstrated in the following code example:

XAML

 

C#

 

The following screenshot shows how the height of the float window is resized to some extent:

Figure 1: Height of the float window is resized

XAML

 

C#

 

The following screenshot shows how the height of the float window remains the same.

Figure 2: The height of the float window remains the same

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
4804 05/07/2015 05/07/2015 WPF DockingManager 4.5.1
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.