28 lines
1.4 KiB
XML
28 lines
1.4 KiB
XML
<UserControl x:Class="MassiveKnob.View.Settings.AnalogOutputsView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:viewModel="clr-namespace:MassiveKnob.ViewModel"
|
|
xmlns:view="clr-namespace:MassiveKnob.View"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="800"
|
|
d:DataContext="{d:DesignInstance Type=viewModel:SettingsViewModelDesignTime, IsDesignTimeCreatable=True}">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="../../Style.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
|
|
<StackPanel Orientation="Vertical" SnapsToDevicePixels="True" UseLayoutRounding="True" TextOptions.TextFormattingMode="Display">
|
|
<ItemsControl ItemsSource="{Binding AnalogOutputs}">
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<view:InputOutputView />
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</StackPanel>
|
|
</UserControl> |