Bojour
J'ai imbriqué une grid dans une cellules
lorsque je veut mettre un UI dans la second en utlisant la methode standard le control et ailleurs! voici le code XAML:
Code xaml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
<ScrollViewer>
        <Grid Background="Black" ShowGridLines="True">
            <Grid.RowDefinitions>                
                <RowDefinition Height="0.35*"/>
                <RowDefinition Height="4*"/>
                <RowDefinition  Height="10*" />
                <RowDefinition Height="0.35*"/>
            </Grid.RowDefinitions>
 
            <Grid.ColumnDefinitions>               
                <ColumnDefinition Width="0.25*"/>
                <ColumnDefinition Width="1.5*"/>
                <ColumnDefinition Width="1.5*"/>
                <ColumnDefinition Width="10*"/>
                <ColumnDefinition Width="1.5*"/>
                <ColumnDefinition Width="0.25*"/>
            </Grid.ColumnDefinitions>
            <Grid ShowGridLines="True" Grid.Row="2" Grid.Column="1" >
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>                    
                </Grid.RowDefinitions>
            </Grid>
            <Image Source="AR-EQUITY-press-36x25-Rocher.jpg" Grid.Row="1" Grid.Column="1"/>
            <Button  Grid.Column="1" Grid.Row="3" Content="teste"/>
        </Grid>
	</ScrollViewer>
quand je veut mettre le bouton dans la nouvelle grille il ne s'affiche pas a l'endroit voulu,j'ai imaginer qu'une fois dans la colonne 2 les ligne seront calculer selon cette colonne mais le programme prend la ligne 3 par rapport a la première grid
un coup de main svp
merci