Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 7788ab57 authored by Harald Martini's avatar Harald Martini
Browse files

hide architecture combobox if property is missing

parent 9f0a8a27
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,16 @@ ...@@ -51,6 +51,16 @@
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Margin="0 10 20 10"> Margin="0 10 20 10">
<StackPanel.Visibility>
<PriorityBinding>
<Binding Path="Architecture" Converter="{StaticResource AlwaysVisibleConverter}"/>
<Binding>
<Binding.Source>
<Visibility>Collapsed</Visibility>
</Binding.Source>
</Binding>
</PriorityBinding>
</StackPanel.Visibility>
<Label Padding="4">Architecture</Label> <Label Padding="4">Architecture</Label>
<ComboBox MinWidth="150" ItemsSource="{Binding ArchitectureItems, UpdateSourceTrigger=PropertyChanged}" SelectedValue="{Binding Architecture, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"> <ComboBox MinWidth="150" ItemsSource="{Binding ArchitectureItems, UpdateSourceTrigger=PropertyChanged}" SelectedValue="{Binding Architecture, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
</ComboBox> </ComboBox>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment