项目作者: AndreiMisiukevich

项目描述 :
Expandable view for Xamarin.Forms
高级语言: C#
项目地址: git://github.com/AndreiMisiukevich/ExpandableView.git
创建时间: 2018-07-21T13:54:39Z
项目社区:https://github.com/AndreiMisiukevich/ExpandableView

开源协议:MIT License

下载


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

Sample GIF

Setup

  • Available on NuGet: ExpandableView NuGet
  • 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:

  1. <ContentPage xmlns:expandable="clr-namespace:Expandable;assembly=ExpandableView">
  2. ...
  3. <expandable:ExpandableView>
  4. <expandable:ExpandableView.PrimaryView>
  5. //{YOUR MAIN VIEW HERE}
  6. </expandable:ExpandableView.PrimaryView>
  7. <expandable:ExpandableView.SecondaryViewTemplate>
  8. <DataTemplate>
  9. //{YOUR DROP-DOWN MENU TEMPLATE HERE} you can use DataTemplateSelector too
  10. </DataTemplate>
  11. </expandable:ExpandableView.SecondaryViewTemplate>
  12. </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 😃