This question is locked. New answers and comments are not allowed.
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:
However, this just makes each tile have a the same width. What am I doing wrong?
private void RadFluidContentControl_Loaded(object sender, RoutedEventArgs e) { RadFluidContentControl rfcc = sender as RadFluidContentControl; RadTileViewItem rtvi = rfcc.ParentOfType<RadTileViewItem>(); if (rtvi.Position % 3 == 1) rtvi.RestoredWidth = 2 * Double.PositiveInfinity; else rtvi.RestoredWidth = 1 * Double.PositiveInfinity; }