Listview issue - listview not set to instance of object

1 posts, 0 answers
  1. haluu
    haluu avatar
    10 posts
    Member since:
    Jul 2013

    Posted 09 Mar Link to this post

    I have the UI for Xamarin R3 2016 and i get not set to instance of object when I have below code in xaml.  This is a bug since it works when I remove this code below.  How can I go about this issue?

     

    thanks 

    Wil

     

    <ContentPage.Resources>
         <ResourceDictionary> 
           <Style TargetType="Button" x:Key="ButtonStyle">
             <Style.Setters>
               <Setter Property="WidthRequest" Value="50"/>
               <Setter Property="BorderRadius" Value="0"/>
               <Setter Property="BackgroundColor" Value="Transparent"/>
               <Setter Property="VerticalOptions" Value="Fill"/>
               <Setter Property="HorizontalOptions" Value="Fill"/>
             </Style.Setters>
           </Style>  
         </ResourceDictionary>
        </ContentPage.Resources>

Back to Top