This question is locked. New answers and comments are not allowed.
Hello,
I have a DataBoundListBox in a Panorama view that has async data loading. When a user first opens the app, data has not loaded yet into the DBLB, and swipes to a panorama item that is not the DBLB, then when the data has loaded for that DBLB it steals focus.
To clarify
1.) User launches app, and data has not loaded into the DBLB.
2.) While data is being downloaded asyncly, user swipes to another Panorama Item
3.) When data loading is complete, the DBLB steals focus and forces panorama to go to the view with the DBLB in it.
Is there a way to disable this autofocus?
Here's the current code for my DBLB:
I have a DataBoundListBox in a Panorama view that has async data loading. When a user first opens the app, data has not loaded yet into the DBLB, and swipes to a panorama item that is not the DBLB, then when the data has loaded for that DBLB it steals focus.
To clarify
1.) User launches app, and data has not loaded into the DBLB.
2.) While data is being downloaded asyncly, user swipes to another Panorama Item
3.) When data loading is complete, the DBLB steals focus and forces panorama to go to the view with the DBLB in it.
Is there a way to disable this autofocus?
Here's the current code for my DBLB:
<
telerikPrimitives:RadDataBoundListBox
x:Name
=
"MainListBox"
ItemsSource
=
"{Binding List}"
SelectionChanged
=
"listBox_SelectionChanged"
ScrollViewer.VerticalScrollBarVisibility
=
"Auto"
ItemTemplate
=
"{StaticResource listboxItemTemplate}"
ItemAddedAnimationInterval
=
"0:0:0.3"
Width
=
"400"
EmptyContentDisplayMode
=
"DataSourceEmpty"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
ItemAnimationMode
=
"PlayOnNewSource"
CacheMode
=
"BitmapCache"
Visibility
=
"{Binding LoadingDone, Converter={StaticResource BoolToVisibleOrHidden}}"
ListFooterTemplate
=
"{StaticResource listboxItemTemplateFooter}"
AsyncBalanceMode
=
"FillViewportFirst"
>
<
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
<
telerikCore:RadMoveAnimation
StartPoint
=
"500, 0"
EndPoint
=
"0, 0"
Duration
=
"0:0:1"
>
<
telerikCore:RadMoveAnimation.Easing
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
telerikCore:RadMoveAnimation.Easing
>
</
telerikCore:RadMoveAnimation
>
</
telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation
>
</
telerikPrimitives:RadDataBoundListBox
>