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

DrawerStateChanged event

4 Answers 66 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christof
Top achievements
Rank 2
Christof asked on 01 Jun 2015, 04:35 AM

Hello!

 

Can you give me example how to get the DrawerStateChanged Event in Code behind ?

Your documentation http://docs.telerik.com/windows-universal/controls/radsidedrawer/sidedrawer-commands is not clear for me.

 

Thanks

4 Answers, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 04 Jun 2015, 07:53 AM
Hi Christof,

The RadSideDrawer does not expose a DrawerStateChanged event, but a command. I have attached a sample project for demonstration. As you can notice the Execute method of the DrawerStateChanged command executes when the DrawerState property has changed. 

Please, let me know if this helps.

Regards,
Ivaylo Gergov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Christof
Top achievements
Rank 2
answered on 16 Oct 2015, 03:32 PM
Thanks for help!
0
Jonathan
Top achievements
Rank 1
answered on 12 Apr 2016, 06:38 AM
Is there an example of actually doing something with the command?  I implemented it as shown in the example code and I can break on it, but how would I actually capture this event in the page that has the SideDrawer?
0
Ivaylo Gergov
Telerik team
answered on 15 Apr 2016, 08:31 AM
Hi,

Well, the command knows only for the control because of the pattern. I will log as a feature request to expose an event also.

Let me know should you have any other questions.

Regards,
Ivaylo Gergov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
SideDrawer
Asked by
Christof
Top achievements
Rank 2
Answers by
Ivaylo Gergov
Telerik team
Christof
Top achievements
Rank 2
Jonathan
Top achievements
Rank 1
Share this question
or