Skip to content

Jon2G/Xamarin.Forms.UniformGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin.Forms.UniformGrid

Simple Uniform Grid for Xamarin.Forms

Example

Instalación 🔧

Just add this package to your Xamarin project.

Getting Started ⌨️

Items Source Binding

        <uniformgrid:UniformGrid VerticalOptions="FillAndExpand" BindableLayout.ItemsSource="{Binding UniformModel,Items}" ColumnSpacing="0" RowSpacing="0" BackgroundColor="Blue">
            <BindableLayout.EmptyView>
                <Label Text="No data"/>
            </BindableLayout.EmptyView>
            <BindableLayout.ItemTemplate>
                <DataTemplate>
                    <Frame Padding="5" BackgroundColor="LightBlue" BorderColor="MidnightBlue">
                        <Label Text="{Binding Numero}" TextColor="Black"/>
                    </Frame>
                </DataTemplate>
            </BindableLayout.ItemTemplate>
        </uniformgrid:UniformGrid>

Sample

        <uniformgrid:UniformGrid>
            <Frame BackgroundColor="AliceBlue">
                <Label Text="1"/>
            </Frame>
            <Frame BackgroundColor="Cornsilk">
                <Label Text="2"/>
            </Frame>
            <Frame BackgroundColor="DarkSalmon">
                <Label Text="3"/>
            </Frame>
            <Frame BackgroundColor="Gainsboro">
                <Label Text="4"/>
            </Frame>
            <Frame BackgroundColor="LightBlue">
                <Label Text="5"/>
            </Frame>
            <Frame BackgroundColor="MediumAquamarine">
                <Label Text="6"/>
            </Frame>
            <Frame BackgroundColor="MistyRose">
                <Label Text="7"/>
            </Frame>
        </uniformgrid:UniformGrid>

Thank you 🎁

  • Please feel free to colaborate ☕.

About

A simple UniformGrid for Xamarin Forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages