|
|
@ -8,52 +8,43 @@
|
|
|
|
<model:Manager/>
|
|
|
|
<model:Manager/>
|
|
|
|
</ContentPage.BindingContext>
|
|
|
|
</ContentPage.BindingContext>
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView>
|
|
|
|
<VerticalStackLayout
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<VerticalStackLayout
|
|
|
|
|
|
|
|
Spacing="25"
|
|
|
|
Spacing="25"
|
|
|
|
Padding="30,0"
|
|
|
|
Padding="30,0"
|
|
|
|
VerticalOptions="Center">
|
|
|
|
VerticalOptions="Center">
|
|
|
|
|
|
|
|
|
|
|
|
<ListView x:Name="MAQE" ItemsSource="{Binding _champions}">
|
|
|
|
<ListView x:Name="champ">
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ViewCell>
|
|
|
|
<ViewCell>
|
|
|
|
<Label Text="{Binding Name}"/>
|
|
|
|
<Border Stroke="DarkSalmon" StrokeThickness="4"
|
|
|
|
</ViewCell>
|
|
|
|
Margin="0, 4" Padding="8,4"
|
|
|
|
</DataTemplate>
|
|
|
|
BackgroundColor="GhostWhite">
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
<Border.StrokeShape>
|
|
|
|
</ListView>
|
|
|
|
<RoundRectangle CornerRadius="30, 30, 30, 0"/>
|
|
|
|
|
|
|
|
</Border.StrokeShape>
|
|
|
|
<Image
|
|
|
|
<Grid ColumnDefinitions="Auto, *" RowDefinitions="2*, *, *"
|
|
|
|
Source="dotnet_bot.png"
|
|
|
|
ColumnSpacing="15">
|
|
|
|
SemanticProperties.Description="Cute dot net bot waving hi to you!"
|
|
|
|
<Frame Grid.RowSpan="3"
|
|
|
|
HeightRequest="200"
|
|
|
|
WidthRequest="60" HeightRequest="60"
|
|
|
|
HorizontalOptions="Center" />
|
|
|
|
Padding="0" CornerRadius="30" Margin="0"
|
|
|
|
|
|
|
|
IsClippedToBounds="True"
|
|
|
|
<Label
|
|
|
|
BorderColor="DarkSalmon" HasShadow="True" >
|
|
|
|
Text="Hello, World!"
|
|
|
|
<Frame.Shadow>
|
|
|
|
SemanticProperties.HeadingLevel="Level1"
|
|
|
|
<Shadow Brush="DarkSalmon" Offset="3, 2"
|
|
|
|
FontSize="32"
|
|
|
|
Radius="2" Opacity="0.8"/>
|
|
|
|
HorizontalOptions="Center" />
|
|
|
|
</Frame.Shadow>
|
|
|
|
|
|
|
|
</Frame>
|
|
|
|
<Label
|
|
|
|
<Label Text="{Binding Name}" Grid.Column="1" FontSize="Medium"/>
|
|
|
|
Text="Welcome to .NET Multi-platform App UI"
|
|
|
|
</Grid>
|
|
|
|
SemanticProperties.HeadingLevel="Level2"
|
|
|
|
</Border>
|
|
|
|
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
|
|
|
|
</ViewCell>
|
|
|
|
FontSize="18"
|
|
|
|
</DataTemplate>
|
|
|
|
HorizontalOptions="Center" />
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
|
|
|
|
</ListView>
|
|
|
|
<Button
|
|
|
|
|
|
|
|
x:Name="CounterBtn"
|
|
|
|
<Label Text="{Binding _champions[1].Name}"/>
|
|
|
|
Text="Click me"
|
|
|
|
|
|
|
|
SemanticProperties.Hint="Counts the number of times you click"
|
|
|
|
</VerticalStackLayout>
|
|
|
|
Clicked="OnCounterClicked"
|
|
|
|
|
|
|
|
HorizontalOptions="Center" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ContentPage>
|
|
|
|
</ContentPage>
|