MainWindow.xaml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <Window x:Class="FestoDebugger.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:FestoDebugger"
  7. xmlns:UserControls="clr-namespace:FestoDebugger.UserControls"
  8. xmlns:prism="http://prismlibrary.com/"
  9. xmlns:local1="clr-namespace:FestoDebugger.ViewModels"
  10. mc:Ignorable="d"
  11. Title="FestoDebuger" Height="450" Width="800">
  12. <Window.DataContext>
  13. <local1:MainViewModel />
  14. </Window.DataContext>
  15. <ScrollViewer>
  16. <ItemsControl ItemsSource="{Binding SignalModuleDatas}">
  17. <ItemsControl.ItemsPanel>
  18. <ItemsPanelTemplate>
  19. <WrapPanel Orientation="Horizontal"/>
  20. </ItemsPanelTemplate>
  21. </ItemsControl.ItemsPanel>
  22. <ItemsControl.ItemTemplate>
  23. <DataTemplate>
  24. <UserControls:FestoControl />
  25. </DataTemplate>
  26. </ItemsControl.ItemTemplate>
  27. </ItemsControl>
  28. </ScrollViewer>
  29. </Window>