ResistivityProbeView.xaml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. <UserControl x:Class="CyberX8_MainPages.Views.ResistivityProbeView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  10. mc:Ignorable="d"
  11. d:DesignHeight="450" d:DesignWidth="800">
  12. <Grid>
  13. <ItemsControl ItemsSource="{Binding ThorntonDeviceConfig.ThorntonDevices}" >
  14. <ItemsControl.ItemsPanel>
  15. <ItemsPanelTemplate>
  16. <WrapPanel Orientation="Horizontal"/>
  17. </ItemsPanelTemplate>
  18. </ItemsControl.ItemsPanel>
  19. <ItemsControl.ItemTemplate>
  20. <DataTemplate>
  21. <UserControls:ResistivityProbeControl Margin="10,0" ModuleTitle="{Binding Name}" ModuleName="{Binding Name}"
  22. IsConnected="{Binding IsConnected}" ResistivityValue="{Binding ResistivityValue}">
  23. </UserControls:ResistivityProbeControl>
  24. </DataTemplate>
  25. </ItemsControl.ItemTemplate>
  26. </ItemsControl>
  27. </Grid>
  28. </UserControl>