Skip to content

Instantly share code, notes, and snippets.

@Eilon
Created July 23, 2020 22:41
Show Gist options
  • Save Eilon/c7aacf1b15b6035a2211dd33ae08d7ca to your computer and use it in GitHub Desktop.
Save Eilon/c7aacf1b15b6035a2211dd33ae08d7ca to your computer and use it in GitHub Desktop.
<TwoPaneView>
<Pane1>
<StackLayout HorizontalOptions="LayoutOptions.FillAndExpand" Margin="20">
<Label Text="What's LEFT to do for Dual Screen support?"
FontSize="40" />
<Label Text="And where does the standard Blazor Counter demo go?"
FontSize="40" TextColor="Color.Orange" Padding="new Thickness(0, 50)" />
<Grid VerticalOptions="LayoutOptions.FillAndExpand">
<Layout>
<RowDefinition GridUnitType="GridUnitType.Auto" />
<RowDefinition GridUnitType="GridUnitType.Auto" />
<RowDefinition GridUnitType="GridUnitType.Auto" />
<ColumnDefinition GridUnitType="GridUnitType.Auto" />
<ColumnDefinition GridUnitType="GridUnitType.Auto" />
</Layout>
<Contents>
<GridCell Row="0" Column="0" ColumnSpan="2">
<Label BackgroundColor="Color.LightBlue" Text="Todo items" FontSize="20" />
</GridCell>
<GridCell Row="1" Column="0">
<Switch IsToggled="true" />
</GridCell>
<GridCell Row="1" Column="1">
<Label Text="Build Surface Duo demo" FontSize="20" />
</GridCell>
<GridCell Row="2" Column="0">
<Switch IsToggled="true" />
</GridCell>
<GridCell Row="2" Column="1">
<Label Text="Did you use Mobile Blazor Bindings?" FontSize="20" />
</GridCell>
</Contents>
</Grid>
</StackLayout>
</Pane1>
<Pane2>
<StackLayout HorizontalOptions="LayoutOptions.FillAndExpand" Margin="20">
<Label Text="Not sure, it seems all RIGHT!"
FontSize="40" />
<Label Text="👇 It goes RIGHT over here! 👇"
FontSize="40" TextColor="Color.Orange" Padding="new Thickness(0, 50)" />
<Counter />
</StackLayout>
</Pane2>
</TwoPaneView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment