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

Activation from toolbar

1 Answer 103 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 13 Jan 2016, 10:40 PM

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.

Thanks,

Craig


 
 

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 18 Jan 2016, 08:12 AM
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.

Regards,
Pavel R. Pavlov
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
Craig
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or