Approved
Last Updated: 12 Nov 2018 13:04 by ADMIN

Hi guys,

I am investigating a weird scrolling behavior in our app, I have more or less reproduced it in the attached sample app. I say 'more or less' because the little sample doesn't exactly have the same structure as our app but the result looks to be the same as what is happening in our software.

When declaring an unnamed style that targets the RadTileViewItem, scrolling the minimized TileViewItems while have one in the Maximized state, reverts all the minimized ones to their 'Normal' state as well as the one that was maximized. If the RadTileViewItem style is given a Key in the resource dictionary and used explicitly in the TileView's ItemContainerStyle property the scrolling works fine.

Both ways of using the style should, in my opinion, behave exactly the same.

Please take a look.

Thanks.

 

Completed
Last Updated: 12 Feb 2018 14:04 by ADMIN
Reproduced with Implicit Styles with NoXAML binaries only. The workaround is to set a fixed value for the RestoredHeight property of RadTileViewItem
Completed
Last Updated: 22 Dec 2017 14:26 by ADMIN
You can work this around by setting the PreservePositionWhenMaximized to False and implement custom preserving logic. You can see this approach in the attached project.

private bool isManualPositionChanged = false;
private Dictionary<RadTileViewItem, int> maximizedItemPositionCache = new Dictionary<RadTileViewItem, int>();

public MainWindow()
{
	InitializeComponent();
	this.xTileView.PreviewTileStateChanged += XTileView_PreviewTileStateChanged;
}

private void XTileView_PreviewTileStateChanged(object sender, Telerik.Windows.Controls.PreviewTileStateChangedEventArgs e)
{
	if (this.isManualPositionChanged)
            {
                return;
            }

            RadTileViewItem tileViewItem = (RadTileViewItem)e.OriginalSource;
            var header = tileViewItem.Header;
            TileViewItemState oldState = e.TileState;
            TileViewItemState newState = tileViewItem.TileState;

            if (newState == TileViewItemState.Minimized || newState == TileViewItemState.Restored)
            {
                if (maximizedItemPositionCache.ContainsKey(tileViewItem))
                {
                    this.isManualPositionChanged = true;
                    tileViewItem.Position = maximizedItemPositionCache[tileViewItem];
                    this.isManualPositionChanged = false;
                    maximizedItemPositionCache.Remove(tileViewItem);
                }
                if (newState == TileViewItemState.Restored)
                {
                    this.isManualPositionChanged = true;
                    var tileView = sender as RadTileView;
                    foreach (RadTileViewItem item in tileView.Items)
                    {
                        if (item.TileState == TileViewItemState.Maximized)
                        {
                            item.TileState = TileViewItemState.Restored;
                        }
                    }
                    this.isManualPositionChanged = false;
                }
            }
            else if (newState == TileViewItemState.Maximized)
            {
                if (!maximizedItemPositionCache.ContainsKey(tileViewItem))
                {
                    maximizedItemPositionCache[tileViewItem] = tileViewItem.Position;
                }
            }
}
Approved
Last Updated: 30 Jan 2017 07:45 by ADMIN
The values are switched. 

NewState holds the value of OldState. 
OldState holds the value of NewState 
Completed
Last Updated: 25 Aug 2017 12:40 by ADMIN
Workaround:
Create a custom style which target type is set to TileViewItemHeader and set it to the HeaderStyle property of the TileView. Then in the custom style, set a custom DataTemplate to the HeaderTemplate property. In this template specify a TextBlock and set its Margin property for instance.

Available in R3 2017 Official Release Version.
Approved
Last Updated: 03 Jan 2017 21:12 by Licensing
Created by: Licensing
Comments: 0
Category: TileView
Type: Feature Request
1

			
Approved
Last Updated: 04 Jan 2017 07:34 by ADMIN
When you add RadBook as a content of RadTileViewItem and reorder the TileViewItem you get ArgumentOutOfRangeException.

Workaround: You can set the width of the RadBook.
Completed
Last Updated: 23 Oct 2015 11:56 by ADMIN
When animating from one state to another the content Fills the entire area( before the items was not stretched and it took the space it required).


Available in LIB version: 2015.3.1026 
Approved
Last Updated: 04 Jan 2017 07:15 by ADMIN
In application with heavier styles and a slower machine when items are dragged and swiped it sometimes leads to exception:
Cannot animate the 'VerticalOffset' property on a 'Telerik.Windows.Controls.TileViewPanel' using a 'System.Windows.Media.Animation.DoubleAnimationUsingKeyFrames'
Completed
Last Updated: 08 Dec 2014 09:27 by ADMIN
With our Q3 2014 SP1 release an exception is thrown when you try to maximize an Item. 

Available in LIB version: 2015.1.1208
Completed
Last Updated: 02 Oct 2014 16:37 by ADMIN
The RadTileView throws an exception if you initially have a maximized and selected items in databound scenario. 

Fixed in LIB version: 2014.2.1006
Completed
Last Updated: 29 Feb 2016 14:48 by ADMIN
An item disappears if you have PreservePositionWhenMaximized=true and Virtualization=true and you maximize/minimize different items a couple of times.
Approved
Last Updated: 03 Jan 2017 20:22 by ADMIN
Then the FlowDirection is set to RightToLeft and you start dragging an RadTileViewItem it looks flipped.
Declined
Last Updated: 24 Jun 2014 15:33 by ADMIN
ADMIN
Created by: Pavel R. Pavlov
Comments: 1
Category: TileView
Type: Feature Request
0
If a RadTileViewItem hosts several controls (e.g. Buttons, RadioButtons) users should be able to change the focused element using arrow keys.
Completed
Last Updated: 02 Jul 2014 13:02 by ADMIN
ADMIN
Created by: Zarko
Comments: 0
Category: TileView
Type: Feature Request
0
TileViewItems' opacity is lost after drag and drop - if you set an opacity different than 1.0 in XAML it will be overridden after a DnD operation with this item.
Approved
Last Updated: 03 Jan 2017 21:20 by ADMIN
When we have enough items so that the vertical scroll bar is displayed and then remove such amount of items so that they have enough space to fit in their container (and scrollbar is not needed) the vertical scrollbar is still visible.
Completed
Last Updated: 04 Feb 2016 13:44 by ADMIN
ADMIN
Created by: Pavel R. Pavlov
Comments: 0
Category: TileView
Type: Bug Report
0
If you set the IsEnabled property to false the control disappears while it should be transparent.
Completed
Last Updated: 31 Jul 2014 13:57 by ADMIN
If you have a nested TileView and its MaximizeMode is One you'll still be able to press the Minimize button of the Maximized tile and this will lead to incorrect layout.
1 2 3 4