// << drawer-update-section-cs

            // >> drawer-update-cs
            public override void UpdateVisualsForItem(TKSideDrawer sideDrawer, NSIndexPath indexPath)
            {
                TKSideDrawerItem item = sideDrawer.Sections[indexPath.Section].Items[indexPath.Item];

                item.Style.ContentInsets  = new UIEdgeInsets(0, -5, 0, 0);
                item.Style.SeparatorColor = new TKSolidFill(UIColor.Clear);
            }
Exemplo n.º 2
0
            public override void UpdateVisualsForItem(TKSideDrawer sideDrawer, int itemIndex, int sectionIndex)
            {
                TKSideDrawerItem item = sideDrawer.Sections[sectionIndex].Items[itemIndex];

                item.Style.ContentInsets  = new UIEdgeInsets(0, -5, 0, 0);
                item.Style.SeparatorColor = new TKSolidFill(UIColor.Clear);
            }