Search This Blog

Wednesday, 29 June 2016

ListView BackGround change

We Can Insert This Was In Xaml.cs File

lstPersons.BackgroundColor = Color.Red;



other wise xaml file

we can mention x


<ListView x:Name="lstPerson" ItemsSource="{Binding PersonsList}" >
        <ListView.BackgroundColor>
          <OnPlatform x:TypeArguments="Color">
            <OnPlatform.Android>#00FF00</OnPlatform.Android>
          </OnPlatform>
        </ListView.BackgroundColor>

No comments:

Post a Comment