This question is locked. New answers and comments are not allowed.
Hello!
I'm using RadDataBoundListBox inside RadWindow control. I have a list of tiles I want to place side by side using WrapVirtualizationStrategyDefinition. They all worked great until I had to set a header for RadDataBoundListBox and failed. It just is not showing the header. Header works well with StackVirtualizationStrategyDefinition, but this is not what I need.
Please help! Thank you.
I'm using RadDataBoundListBox inside RadWindow control. I have a list of tiles I want to place side by side using WrapVirtualizationStrategyDefinition. They all worked great until I had to set a header for RadDataBoundListBox and failed. It just is not showing the header. Header works well with StackVirtualizationStrategyDefinition, but this is not what I need.
Please help! Thank you.
<
telerikPrimitives:RadDataBoundListBox
Margin
=
"10,0"
ItemsSource
=
"{Binding Categories}"
telerikCore:InteractionEffectManager.IsInteractionEnabled
=
"True"
>
<
telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition
>
<
telerikPrimitives:WrapVirtualizationStrategyDefinition
Orientation
=
"Horizontal"
/>
</
telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition
>
<
telerikPrimitives:RadDataBoundListBox.ListHeaderTemplate
>
<
DataTemplate
>
<
Grid
Height
=
"150"
/>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ListHeaderTemplate
>
<
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
<
telerikCore:RadFadeAnimation
StartOpacity
=
"0"
EndOpacity
=
"100"
/>
</
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"10,10"
Height
=
"170"
Width
=
"210"
Background
=
"{Binding CategoryBackground}"
>
<
TextBlock
Foreground
=
"White"
FontSize
=
"60"
VerticalAlignment
=
"Center"
TextAlignment
=
"Center"
Text
=
"{Binding EventsCount}"
Margin
=
"0,-10,0,0"
/>
<
TextBlock
Foreground
=
"White"
VerticalAlignment
=
"Bottom"
TextAlignment
=
"Left"
Text
=
"{Binding Name}"
Margin
=
"10"
FontSize
=
"26"
/>
</
Grid
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
</
telerikPrimitives:RadDataBoundListBox
>