This question is locked. New answers and comments are not allowed.
I'm using the DataBoundListBox, inside a stackpanel which is contained by a pivot. The scrolling is available but, it is like an elastic, it won't hold his current position. Below is the xaml.
Thanks in advance,
Stelian Popa.
Thanks in advance,
Stelian Popa.
<
phone:PivotItem
Header
=
"{Binding LocalizedResources.lblConsumText, Source={StaticResource LocalizedStrings}}"
>
<
StackPanel
>
<
telerikPrimitives:RadDataBoundListBox
ItemsSource
=
"{Binding ListaConsumuri}"
Tap
=
"UIElement_OnTap"
>
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
Height
=
"40"
>
<
TextBlock
Text
=
"{Binding DataConsum}"
Width
=
"200"
/>
<
TextBlock
Text
=
"{Binding IndexUtilitate}"
Width
=
"100"
/>
<
TextBlock
Text
=
"{Binding Consum}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
telerikPrimitives:RadDataBoundListBox.EmptyContentTemplate
>
<
DataTemplate
>
<
TextBlock
Text="{Binding
Path
=
LocalizedResources
.NuSuntInregistrariAdaugate,
Source={StaticResource LocalizedStrings}}"
></
TextBlock
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.EmptyContentTemplate
>
</
telerikPrimitives:RadDataBoundListBox
>
</
StackPanel
>
</
phone:PivotItem
>