1234567891011121314151617181920212223242526272829303132 |
- <Window x:Class="FestoDebugger.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:FestoDebugger"
- xmlns:UserControls="clr-namespace:FestoDebugger.UserControls"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:local1="clr-namespace:FestoDebugger.ViewModels"
- mc:Ignorable="d"
- Title="FestoDebuger" Height="450" Width="800">
- <Window.DataContext>
- <local1:MainViewModel/>
- </Window.DataContext>
- <Canvas>
- <ScrollViewer Height="450" Width="800">
- <ItemsControl ItemsSource="{Binding SignalModuleDatas}">
- <ItemsControl.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel Orientation="Horizontal" Margin="20,20,20,0"/>
- </ItemsPanelTemplate>
- </ItemsControl.ItemsPanel>
- <ItemsControl.ItemTemplate>
- <DataTemplate>
- <UserControls:FestoControl ModuleData="{Binding}"/>
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>
- </ScrollViewer>
- </Canvas>
- </Window>
|