Skip to content

Instantly share code, notes, and snippets.

Created August 3, 2015 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3b2cc4fa76f9dff93806 to your computer and use it in GitHub Desktop.
Save anonymous/3b2cc4fa76f9dff93806 to your computer and use it in GitHub Desktop.
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<WrapPanel Grid.Row="0" Grid.Column="0">
<CheckBox IsThreeState="False" IsChecked="{Binding Connection.ConnectionElectricityWanted}" Content="Elektriciteit" />
</WrapPanel>
<WrapPanel Grid.Row="0" Grid.Column="1">
<CheckBox IsThreeState="False" IsChecked="{Binding Connection.ConnectionGasWanted}" Content="Gas" />
</WrapPanel>
<WrapPanel Grid.Row="1" Grid.Column="0">
<ComboBox
ItemsSource="{Binding Source={StaticResource utilityConnectionType},Path=DisplayNames}"
SelectedItem="{Binding Path=Connection.ElectricityType, Converter={StaticResource utilityConnectionType}}" HorizontalContentAlignment="Stretch"
/>
</WrapPanel>
<WrapPanel Grid.Row="1" Grid.Column="1">
<ComboBox
ItemsSource="{Binding Source={StaticResource utilityConnectionType},Path=DisplayNames}"
SelectedItem="{Binding Path=Connection.GasType, Converter={StaticResource utilityConnectionType}}" HorizontalContentAlignment="Stretch"
/>
</WrapPanel>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment