Forum Xamarin.Forms

Label and Button Margin Property

kcswindowskcswindows USMember
edited June 2016 in Xamarin.Forms

Label And button margin Property Which Version will Work ?
i am using xamarin.Forms
My Code given below :
<Grid BackgroundColor="Purple" Margin="10"> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="6*"/> </Grid.RowDefinitions> <Grid Grid.Row="0" BackgroundColor="Yellow" > <Label Text="Borderpage" FontSize="24" TextColor="Black" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" Margin="10"/> </Grid> <Button Grid.Row="1" Text="Submit" Margin="10"/> </Grid>
i get error at Runtime. Please help me to resolve issue.what to do ?


Sign In or Register to comment.