Activation from toolbar

2 posts, 0 answers
  1. Craig
    Craig avatar
    3 posts
    Member since:
    Jan 2015

    Posted 13 Jan 2016 Link to this post

    I would like to know if anyone has successfully developed a way to activate the Telerik SideDrawer from an Android API level 21 or higher Toolbar dedicated navigation button in Xamarin Forms.

    It does not appear that there is any provision for doing this within a Xamarin Forms NavigationPage, so I assume that it would likely require a custom renderer.

    I have been able to activate it from a NavigationPage ToolbarItem (though I have not yet created a custom renderer for aligning the button to the left), but I would prefer to be able to do it from the dedicated navigation button which supports navigation button animations, etc.



  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1251 posts

    Posted 18 Jan 2016 Link to this post

    Hello Craig,

    We are not sure that we fully understand what you have in mind. We cannot understand if your question is related with the XamarinForms NavigationPage or it is related to the RadSideDrawer component of our UI for Xamarin suite.

    Basically, the RadSideDrawer exposes the IsOpened property. It allows users to open or close the drawer when it is needed from code. On the other hand, the NavigationPage toolbar button exposes click event handler which allows programmers to detect when the end user has clicked/tapped on the button. At the end, the combination of these two APIs should allow you to easily open and close the RadSideDrawer from a dedicated navigation page button.

    However, if we misunderstood you and this is not the required behavior, please provide us with more detailed information about it. Maybe some sketches or drawings will help us understand you.

    I hope this information is helpful.

    Pavel R. Pavlov
    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