DrawerStateChanged event

5 posts, 0 answers
  1. Christof
    Christof avatar
    27 posts
    Member since:
    May 2013

    Posted 31 May 2015 Link to this post

    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

  2. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 04 Jun 2015 Link to this post

    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
  3. Christof
    Christof avatar
    27 posts
    Member since:
    May 2013

    Posted 16 Oct 2015 in reply to Ivaylo Gergov Link to this post

    Thanks for help!
  4. Jonathan
    Jonathan avatar
    1 posts
    Member since:
    Feb 2015

    Posted 12 Apr Link to this post

    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?
  5. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 15 Apr Link to this post

    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
Back to Top