/Xamarin.Plugins.HorizontalList

HorizontalList for Xamarin.Forms. Work with .net Standard.

Primary LanguageC#MIT LicenseMIT

Xamari.Forms.Plugin.HorizontalList!

HorizontalList for Xamarin.Forms. Work with .net Standard.

Install on .Net Standard Library.

NuGet


Properties

  • ItemsSource : Soruce of List.
  • ItemTemplate : Template for item. It's needed to work.
  • ListOrientation = Default is Vertical.
  • SelectedItem .
  • SelectedCommand .

How use it

##xaml ##

Import : xmlns:control="clr-namespace:HorizontalList;assembly=HorizontalList"

Use it :

<ContentPage.Content>
    <control:HorizontalList
        ItemsSource="{Binding MyList}"
        ListOrientation="Horizontal" >
        <control:HorizontalList.ItemTemplate >
            <DataTemplate>
                <Grid>
                    <Label Text="{Binding Name}" />
                </Grid>
            </DataTemplate>
        </control:HorizontalList.ItemTemplate>
    </control:HorizontalList>
</ContentPage.Content>