1iveowl / Plugin.SegmentedControl

MIT License
170 stars 29 forks source link

How to Load a ContentView on the Segments #86

Closed vhugogarcia closed 1 year ago

vhugogarcia commented 4 years ago

Hello friends,

First, thank you so much for this awesome plugin for Xamarin.forms.

I have a simple question: Anybody tried to load a content view for each segment?

I have a ContentPage and a few ContentViews in other XAML files, I want to load a ContentView on each segment, is that possible and how? I could not find it in the documentation.

Thanks in advance for this great plugin!

ChristopherMWood commented 4 years ago

You could toggle the ContentView IsVisible properties based on which segment has been selected. I was able to do something similar with the plugin that this library was based on.