@@ -0,0 +1,28 @@
|
||||
<Window x:Class="PlotModelAlreadyInUse.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
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:local="clr-namespace:PlotModelAlreadyInUse"
|
||||
xmlns:oxy="http://oxyplot.org/wpf"
|
||||
mc:Ignorable="d"
|
||||
Title="PlotModel already in use" Height="350" Width="525">
|
||||
<Window.DataContext>
|
||||
<local:ViewModel/>
|
||||
</Window.DataContext>
|
||||
<Grid>
|
||||
<DataGrid ItemsSource="{Binding Items}" AutoGenerateColumns="False">
|
||||
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Name" Binding="{Binding Name}"/>
|
||||
</DataGrid.Columns>
|
||||
|
||||
<DataGrid.RowDetailsTemplate>
|
||||
<DataTemplate>
|
||||
<oxy:PlotView Model="{Binding Model}" Height="200"/>
|
||||
</DataTemplate>
|
||||
</DataGrid.RowDetailsTemplate>
|
||||
|
||||
</DataGrid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user