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 change the visibility of Float window as visible which is not in selectedtab

While changing the selection in TabControl, TabItem content will be Collapsed other than selected tab. So FloatWindows will be visible only when the Parent TabItem is Selected. It is the default behavior of the TabControl.

We can overcome this behavior by changing the IsOpen property of the NativeFloatWindow as True. The same has been demonstrated in the following code.

MainWindow.xaml

 

MainWindow.cs

 

 

 

UserControl.xaml:

 

UserControl.cs

 

Output:

 

 

Float Window(“Window”) is the child of Tab1, but “Window” is visible even if the Tab1 is not selected.

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7148 11/23/2016 11/23/2016 WPF TabControlExt
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.