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
| <Popup x:Name="popup_help" Margin="0,0">
<Border Background="Black" Height="{Binding ElementName=LayoutRoot,Path=ActualHeight}" Width="{Binding ElementName=LayoutRoot,Path=ActualWidth}">
<StackPanel>
<StackPanel Margin="20,40" Height="600">
<ScrollViewer>
<Grid Name="Grid">
<TextBlock ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Name="txbReceta" TextWrapping="Wrap" MaxWidth="{Binding ElementName=Grid, Path=ActualWidth}" >
Enorme text ligne 1
Enorme text ligne 2
Enorme text ligne 3
Enorme text ligne 4
Enorme text ligne 5
Enorme text ligne 6
etc ...
</TextBlock>
</Grid>
</ScrollViewer>
</StackPanel>
<StackPanel>
<Button x:Name="btn_help_cancel" Content="Fermer" Width="460" VerticalAlignment="Bottom" HorizontalAlignment="Center" Click="btn_help_cancel_Click" BorderBrush="#DEFFFFFF" Foreground="#DEFFFFFF" Margin="10,0"/>
</StackPanel>
</StackPanel>
</Border>
</Popup> |
Partager