AlgoEditorGridView - enum template ComboBox ItemTemplate is EnumDescriptionTemplate

This commit is contained in:
John Colvin committed 2019-04-04 23:10:50 -05:00
1 parent 98b1193619
commit 82d8a45d87
1 file changed
+6 -1
@@ -137,7 +137,12 @@
</usp:AlgoParamTemplateSelector.BoolTemplate>
<usp:AlgoParamTemplateSelector.EnumTemplate>
<DataTemplate>
<ComboBox HorizontalAlignment="Stretch" ItemsSource="{Binding param.value, Converter={StaticResource EnumItemsSourceConverter}, Mode=OneTime}" SelectedItem="{Binding param.value}"/>
<ComboBox
HorizontalAlignment="Stretch"
ItemsSource="{Binding param.value, Converter={StaticResource EnumItemsSourceConverter}, Mode=OneTime}"
ItemTemplate="{StaticResource EnumDescriptionTemplate}"
SelectedItem="{Binding param.value}"
/>
</DataTemplate>
</usp:AlgoParamTemplateSelector.EnumTemplate>
<usp:AlgoParamTemplateSelector.TimestampTemplate>