IMPORTANT: THIS CONTROL WAS MERGED INTO XAMARIN COMMUNITY TOOLKIT
https://github.com/xamarin/XamarinCommunityToolkit
ExpandableView control for Xamarin Forms
ExpandableView
This plugin provides opportunity to create expandable views
Setup
- Available on NuGet: ExpandableView
- Add nuget package to your Xamarin.Forms .netStandard/PCL project and to your platform-specific projects
Platform | Version |
---|---|
Xamarin.iOS | 8.0+ |
Xamarin.Android | 15+ |
Windows 10 UWP | 10.0.10240+ |
XAML:
<ContentPage xmlns:expandable="clr-namespace:Expandable;assembly=ExpandableView">
...
<expandable:ExpandableView>
<expandable:ExpandableView.PrimaryView>
//{YOUR MAIN VIEW HERE}
</expandable:ExpandableView.PrimaryView>
<expandable:ExpandableView.SecondaryViewTemplate>
<DataTemplate>
//{YOUR DROP-DOWN MENU TEMPLATE HERE} you can use DataTemplateSelector too
</DataTemplate>
</expandable:ExpandableView.SecondaryViewTemplate>
</expandable:ExpandableView>
C#:
The sample you can find here https://github.com/AndreiMisiukevich/ExpandableView/blob/master/ExpandableViewSample/App.cs
Check source code for more info, or just ask me =)
License
The MIT License (MIT) see License file
Contribution
Feel free to create issues and PRs