3
Answers

Xaml page backgronud color not displayed why???

Ask a question
Am creating xamarin.forums application
the code given below background color not displayed
  1. <StackLayout>  
  2.       <ContentPage.Content>  
  3.           <Label Text="logesh to Xamarin Forms!"   
  4.          VerticalOptions="Center"   
  5.          HorizontalOptions="Center"   
  6.         TextColor="Navy" Backgroundcolor="Yellow" />  
  7.           <Button Text="Click here" FontSize="Medium" TextColor="Yellow" VerticalOptions="CenterAndExpand">Button>  
  8.           <Slider VerticalOptions="Center">  
  9.               <Label Text="logesh"   
  10.                      FontSize="Medium"  
  11.                      VerticalOptions="Center"  
  12.                      HorizontalOptions="Start"  
  13.                      AnchorX="0"  
  14.                      Rotation="240"/>  
  15.   
  16.           Slider>  
  17.       ContentPage.Content>  
  18.   StackLayout>  
 

Answers (3)