Open Autohidden Tab when Property Changes
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>
SIGN IN To post a reply.
3 Replies
MS
Marimuthu Sivalingam
Syncfusion Team
March 17, 2017 01:05 PM UTC
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.
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.
TC
Thomas Christof
March 25, 2017 07:24 PM UTC
This would be a nice feature request. Currently need the same feature.
MS
Marimuthu Sivalingam
Syncfusion Team
March 29, 2017 11:48 AM UTC
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.
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.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
GS Giovanni Selvatico
- Mar 16, 2017 09:41 AM UTC
- Mar 29, 2017 11:48 AM UTC