Addendum: Visibility/Collapsed of individual tiles does not have anything to do with recreating the problem as I first thought. Is seem that while the control is initializing it is ignoring tile positioning from code behind, once it is fully initialized everything works as expected. My problem is I don't know when it is done 'initializing'. I have animation off so annimationcompleted never fires. TilePositionChanged does fire, once for each tile on load, so this code does work, but it is only a slight improvement over the timer, in that I need to know the order the tiles load and move tiles only after they have been initially positioned.
Private
Sub
TileView_TilePositionChanged(sender
As
Object
, e
As
Telerik.Windows.RadRoutedEventArgs)
Handles
TileView.TilePositionChanged
System.Diagnostics.Debug.WriteLine(
DirectCast
(e.Source, Telerik.Windows.Controls.RadTileViewItem).Name)
If
DirectCast
(e.Source, Telerik.Windows.Controls.RadTileViewItem).Name =
"Tile3"
Then
If
_firstTime
Then
_firstTime =
False
Tile2.Position = 0
'this is honored
End
If
End
If
End
Sub