I have a tile view with the ColumnsCount set to 3. I would like to make each middle tile twice the length of the two outer tiles programmatically, but I can't seem to figure it out. This is what I have been trying:
sender, RoutedEventArgs e)
RadFluidContentControl rfcc = sender
RadTileViewItem rtvi = rfcc.ParentOfType<RadTileViewItem>();
(rtvi.Position % 3 == 1)
rtvi.RestoredWidth = 2 * Double.PositiveInfinity;
rtvi.RestoredWidth = 1 * Double.PositiveInfinity;
However, this just makes each tile have a the same width. What am I doing wrong?