123456789101112131415161718192021222324252627282930313233 |
- <UserControl
- x:Class="ShakerApp.Views.RandomTransferFunctionView"
- xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:oxy="http://oxyplot.org/avalonia"
- xmlns:vm="using:ShakerApp.ViewModels"
- d:DesignHeight="450"
- d:DesignWidth="800"
- x:DataType="vm:RandomTransferFunctionViewModel"
- Background="Transparent"
- DataContext="{Binding Source={x:Static vm:RandomTransferFunctionViewModel.Instance}}"
- mc:Ignorable="d">
- <Grid RowDefinitions="*,56">
- <oxy:PlotView Background="Transparent" Model="{Binding PlotModel}" />
- <StackPanel
- Grid.Row="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Button
- Width="120"
- Command="{Binding StartCommand}"
- Content="{DynamicResource StartRandomTest}" />
- <Button
- Width="120"
- Margin="120,0,0,0"
- Command="{Binding CancelCommand}"
- Content="{DynamicResource Cancel}" />
- </StackPanel>
- </Grid>
- </UserControl>
|