mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 06:56:10 +00:00
83 lines
No EOL
4.3 KiB
XML
83 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="AideDeJeu.Views.PlayerCharacterEditorPage"
|
|
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
|
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
|
x:Name="This"
|
|
>
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<tools:MonsterMarkdownTheme x:Key="MonsterMarkdownTheme" />
|
|
<tools:NullToFalseConverter x:Key="NullToFalseConverter" />
|
|
</ResourceDictionary>
|
|
</ContentPage.Resources>
|
|
<TableView>
|
|
<TableRoot>
|
|
<TableSection Title="Généralités">
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Niveau" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Levels}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Race" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Races}" ItemDisplayBinding="{Binding Name}" SelectedIndex="{Binding RaceSelectedIndex, Mode=TwoWay}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Classe" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Classes}" ItemDisplayBinding="{Binding Name}" SelectedIndex="{Binding ClassSelectedIndex, Mode=TwoWay}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Historique" />
|
|
<Picker HorizontalOptions="EndAndExpand" Grid.ColumnSpan="2" ItemsSource="{Binding Backgrounds}" ItemDisplayBinding="{Binding Name}" SelectedIndex="{Binding BackgroundSelectedIndex, Mode=TwoWay}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
</TableSection>
|
|
<TableSection Title="Caractéristiques">
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Force" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Dextérité" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Constitution" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Intelligence" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Sagesse" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
<ViewCell>
|
|
<StackLayout Orientation="Horizontal">
|
|
<Label Text="Charisme" />
|
|
<Picker HorizontalOptions="EndAndExpand" ItemsSource="{Binding Abilities}" ItemDisplayBinding="{Binding}" />
|
|
</StackLayout>
|
|
</ViewCell>
|
|
</TableSection>
|
|
</TableRoot>
|
|
</TableView>
|
|
</ContentPage> |