This is a migrated thread and some comments may be shown as answers.

SlideIn/SlideOut or Hide/Show event

1 Answer 178 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ramin
Top achievements
Rank 1
Ramin asked on 29 Sep 2010, 11:11 PM
Hi,

I have only one RadPane in the RadPaneGroup and it's set to AutoHide. I need to set up an event for sliding-out or sliding-in by user's mouse actions. There are some setting in my program that I need to change whenever the RadPane is being shown or hide. I tried all the available events but none get triggered when I hover my mouse over the Tab and the RadPane starts sliding-out and vice versa.

Thanks,
Ramin

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 05 Oct 2010, 10:15 AM
Hi Ramin,

Thank you for contacting us.

Unfortunately, RadDocking control has no events that indicates out of the box whether the AutoHideArea is sliding-in or sliding-out .

I would suggest you to implement an attached property of type bool. You could set implicit Style for the AutoHideArea and set Value for this property to True. On the PropertyChangedCallback handler of the attached property you could get the AutoHideArea, cast it to the INotifyLayoutChanged and handle LayoutChangeEnded and LayoutChangeStarted.

Attached you can find the sample. I hope this helps!

All the best,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Ramin
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or