Can anybody help with why the following will not display a vertical
<
Grid
>
<
telerik:RadListBox
HorizontalAlignment
=
"Left"
Height
=
"135"
Margin
=
"24,13,0,0"
VerticalAlignment
=
"Top"
Width
=
"510"
ItemsSource
=
"{Binding Source={StaticResource groups}, UpdateSourceTrigger=PropertyChanged}"
SelectedIndex
=
"{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
>
<
telerik:RadListBox.ItemTemplate
>
<
DataTemplate
>
<
VirtualizingStackPanel
>
<
TextBlock
Text
=
"{Binding display}"
/>
</
VirtualizingStackPanel
>
</
DataTemplate
>
</
telerik:RadListBox.ItemTemplate
>
<
telerik:RadListBox.GroupStyle
>
<
GroupStyle
HeaderTemplate
=
"{StaticResource groupTemplate}"
/>
</
telerik:RadListBox.GroupStyle
>
</
telerik:RadListBox
>
</
Grid
>
but the following does?
<
Grid
>
<
telerik:RadListBox
Height
=
"77"
Width
=
"410"
ItemsSource
=
"{Binding Source={StaticResource groups}}"
SelectedIndex
=
"{Binding AssocIdx, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
>
<
telerik:RadListBox.ItemTemplate
>
<
DataTemplate
>
<
VirtualizingStackPanel
>
<
TextBlock
Text
=
"{Binding Name}"
/>
</
VirtualizingStackPanel
>
</
DataTemplate
>
</
telerik:RadListBox.ItemTemplate
>
<
telerik:RadListBox.GroupStyle
>
<
GroupStyle
HeaderTemplate
=
"{StaticResource groupTemplate}"
/>
</
telerik:RadListBox.GroupStyle
>
</
telerik:RadListBox
>
</
Grid
>