donc merci de donner un peu de détails sur le contexte.
avec une description de ce qui te gêne
une capture d'écran de ton menupas une photo prise de travers.
<Grid x:Name="GridOverlay" IsVisible="False" ColumnSpacing="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.6*"/> <ColumnDefinition Width="0.4*"/> </Grid.ColumnDefinitions> <StackLayout BackgroundColor="White" x:Name="SlMenu"> <StackLayout BackgroundColor="#FA6400" VerticalOptions="Center" Spacing="0" Margin="0"/> <Label Text="Bienvenue" Margin="20,0,20,5" FontSize="Large" TextColor="White"/> <Label x:Name="LblUsername" FontSize="Small" Margin="20,2,20,20" TextColor="White"/> </StackLayout> <StackLayout Spacing="30" Orientation="Horizontal" Margin="20,20,0,10"> <Image Source="order.png" HeightRequest="30" WidthRequest="30"/> <Label Text="Mes Commandes" TextColor="#2C2C2C" HeightRequest="50" VerticalTextAlignment="Center" FontSize="20"/> <StackLayout.GestureRecognizers> <TapGestureRecognizer x:Name="TapCommandes" Tapped="TapCommandes_Tapped"/> </StackLayout.GestureRecognizers> </StackLayout> <StackLayout Spacing="30" Orientation="Horizontal" Margin="20,30,0,20"> <Image Source="carticon.png" HeightRequest="30" WidthRequest="30"/> <Label Text="Carte" TextColor="#2C2C2C" HeightRequest="50" VerticalTextAlignment="Center" FontSize="20"/> <StackLayout.GestureRecognizers> <TapGestureRecognizer x:Name="TapCarte" Tapped="TapCarte_Tapped"/> </StackLayout.GestureRecognizers> </StackLayout> <StackLayout Spacing="50" Orientation="Horizontal" Margin="20,40,0,30"> <Image Source="contact.png" HeightRequest="30" WidthRequest="30"/> <Label Text="Contact" TextColor="#2C2C2C" HeightRequest="50" VerticalTextAlignment="Center" FontSize="20"/> <StackLayout.GestureRecognizers> <TapGestureRecognizer x:Name="TapContact" Tapped="TapContact_Tapped"/> </StackLayout.GestureRecognizers> </StackLayout> <StackLayout Spacing="50" Orientation="Horizontal" Margin="20,50,0,40"> <Image Source="logout.png" HeightRequest="30" WidthRequest="30"/> <Label Text="Deconnecter" TextColor="#2C2C2C" HeightRequest="50" VerticalTextAlignment="Center" FontSize="20"/> <StackLayout.GestureRecognizers> <TapGestureRecognizer x:Name="TapDeconnecter" Tapped="TapDeconnecter_Tapped"/> </StackLayout.GestureRecognizers> </StackLayout>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question<Grid x:Name="GridOverlay" IsVisible="False"> <StackPanel Background="White" x:Name="SlMenu"> <StackPanel Background="#FA6400" Margin="0"/> <!--ici--> <Label Content="Bienvenue" Margin="20,0,20,5"/> <Label x:Name="LblUsername" Content="UserName"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,20,0,10"> <Image Source="order.png" Height="30" Width="30"/> <Label Content="Mes Commandes" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,30,0,20"> <Image Source="carticon.png" Height="30" Width="30"/> <Label Content="Carte" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,40,0,30"> <Image Source="contact.png" Height="30" Width="30"/> <Label Content="Contact" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,50,0,40"> <Image Source="logout.png" Height="30" Width="30"/> <Label Content="Deconnecter" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> </Grid>
<Grid x:Name="GridOverlay" IsVisible="False"> <StackPanel Background="White" x:Name="SlMenu"> <StackPanel Background="#FA6400" Margin="0"> <!--là on enlève le / --> <!--A partir d'ici on augmente l'indentation d'une tabulation jusqu'au prochain commentaire--> <Label Content="Bienvenue" Margin="20,0,20,5"/> <Label x:Name="LblUsername" Content="UserName"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,20,0,10"> <Image Source="order.png" Height="30" Width="30"/> <Label Content="Mes Commandes" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,30,0,20"> <Image Source="carticon.png" Height="30" Width="30"/> <Label Content="Carte" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,40,0,30"> <Image Source="contact.png" Height="30" Width="30"/> <Label Content="Contact" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <StackPanel Orientation="Horizontal" Margin="20,50,0,40"> <Image Source="logout.png" Height="30" Width="30"/> <Label Content="Deconnecter" Foreground="#2C2C2C" Height="50" FontSize="20"/> </StackPanel> <!--Et on ferme ici en ajoute une balise de fin de stackpanel--> </StackPanel> </Grid>
voila sa me donne saet où est la capture?
Tu pourrais me suggerer un gar qui s'y connait en xaml stp?sur CodeS SourcesS, actuellement (soit depuis plusieurs mois) je suis le seul....
<Balise> Attribut1="truc" Attribut2="machin" Attribut3="chose"/>
<Balise> Attribut1="truc" Attribut2="machin" Attribut3="chose" </Balise>
<Balise> Attribut1="truc" Attribut2="machin" Attribut3="chose"> <Enfant1 Attribut1="truc" Attribut2="machin" Attribut3="chose"/> <Enfant2 Attribut1="truc" Attribut2="machin" Attribut3="chose" </Enfant2> <Enfant3 Attribut1="truc" Attribut2="machin" Attribut3="chose"> <Enfant4 Attribut1="truc" Attribut2="machin" Attribut3="chose"/> </Enfant3> </Balise>