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.

Open Autohidden Tab when Property Changes

Thread ID:

Created:

Updated:

Platform:

Replies:

129409 Mar 16,2017 05:41 AM Mar 29,2017 07:48 AM WPF 3
loading
Tags: DockingManager
Giovanni Selvatico
Asked On March 16, 2017 05:41 AM

I have a ContentControl inside a DockingManager with the state set to AutoHidden.
Inside the ContentControl there is a TextBlock with the Text property binded to a string variable in the ViewModel.
Is it possible to set a Trigger in XAML to open (and then close) the Tab whenever the binded property changes without using the code behind?
This is the XAML code
 <syncfusion:DockingManager>
          <ContentControl x:Name="MyTab"
                syncfusion:DockingManager.Header="Messages" 
                syncfusion:DockingManager.DesiredHeightInDockedMode="20"                            
                syncfusion:DockingManager.State="AutoHidden"                            
                syncfusion:DockingManager.SideInDockedMode="Bottom">
                <StackPanel >
                    <TextBlock x:Name="DbMessage" Text="{Binding MyMessage}"/>
                </StackPanel>
            </ContentControl>
 </syncfusion:DockingManager>

Marimuthu Sivalingam [Syncfusion]
Replied On March 17, 2017 09:05 AM

Hi Giovanni , 
Thank you for contacting Syncfusion Support.

We have checked the reported query "Is it possible to set a Trigger in XAML to open and then close the AutoHideWindow without using the code behind?" and then we don't have any other possibilities to open and close the AutoHidden window by the help of triggers. Because there is no direct property to show or hide the autohide window. In our AutoHiddenWindow, we will start and stop animation's based on mouse interactions.


Regards,
Marimuthu S.
 


Thomas Christof
Replied On March 25, 2017 03:24 PM

This would be a nice feature request. Currently need the same feature.

Marimuthu Sivalingam [Syncfusion]
Replied On March 29, 2017 07:48 AM

Hi Thomas,

Thanks for your update.

We have checked the reported query "Is it possible to set a Trigger in XAML to open and then close the AutoHideWindow without using the code behind?" and prepared the sample to meet your requirement. In this sample, we have opened AutoHidden tab based on TextChanged event by the help of SidePanel SelectTab method in DockingManager. Please download the sample from the below link.

Sample: OpenautoHide

If we misunderstood your requirement, please update us brief explanation about your requirement. It would help to proceed further on this.

Regards,
Marimuthu S.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;