TKSideDrawer: Selection

Handling item selection in TKSideDrawer is as simple as adopting TKSideDrawerDelegate and implementing its sideDrawer:didSelectItemAtIndexPath: method. Use the passed NSIndexPath to determine which item was selected and take the appropriate action:

public override void DidSelectItem (TKSideDrawer sideDrawer, NSIndexPath indexPath)
    Console.WriteLine ("Selected item in section: {0} at index: {1}", indexPath.Section, indexPath.Row);
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article