You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You got it wrong. In order for this to work, you need to derive from SegmentedControl first and create a renderer for each platform. Make sure that the View you're going to export is your custom control, i.e:
Activity
alexrainman commentedon Nov 23, 2018
I will be releasing a new version soon.
mr5z commentedon Jan 18, 2019
You got it wrong. In order for this to work, you need to derive from
SegmentedControlfirst and create a renderer for each platform. Make sure that theViewyou're going to export is your custom control, i.e:ExportRenderer(typeof(Your_Custom_Control_Here), typeof(MySegmentedControlRenderer))]And instead of using the
SegmentedControlin your XAML, you also use yourYour_Custom_Control_Here