Created
August 25, 2014 14:48
-
-
Save killnine/1c14b954a10194f34195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListBox ItemsSource="{Binding FilteredOperationCodes, Mode=OneWay}" SelectedItem="{Binding SelectedOperationCode}" SelectionMode="Single"> | |
<ListBox.ItemTemplate> | |
<DataTemplate> | |
<Grid Margin="3"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" MinWidth="200" /> | |
<ColumnDefinition Width="*"/> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"/> | |
<RowDefinition Height="Auto"/> | |
</Grid.RowDefinitions> | |
<TextBlock Grid.Row="0" Grid.RowSpan="2" Style="{StaticResource Title}" Text="{Binding OpCd}"/> | |
<TextBlock Grid.Row="0" Grid.Column="1" Style="{StaticResource Emphasis}" Text="{Binding Description}"/> | |
<!-- This is what I'd like to change to use GroupCodeDescription --> | |
<TextBlock Grid.Row="1" Grid.Column="1" Style="{StaticResource Small}" Text="{Binding GroupCode}"/> | |
</Grid> | |
</DataTemplate> | |
</ListBox.ItemTemplate> | |
</ListBox> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment