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.

 

Approved
Last Updated: 17 Aug 2018 16:16 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 2
Category: TileView
Type: Feature Request
4
Initial state of TileView:
A B C
D E F
G

G is moved between B and E (current result)
A B C
D G F
E

REQUESTED RESULT:
A B C
D G F
   E
Approved
Last Updated: 17 Aug 2018 16:14 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 2
Category: TileView
Type: Feature Request
6
TileView: Add different methods for arranging Tile items. Asked by a client.
For example "ColumnsOnly" would only shuffle items down within the column being inserted into. However this would also mean that gaps would have to be allowed. E.g.
A B C
D E F
G

If G moved between B and E then
A B C
D G F
   E
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;
                }
            }
}
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: 30 Jan 2017 07:45 by ADMIN
The values are switched. 

NewState holds the value of OldState. 
OldState holds the value of NewState 
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TileView
Type: Bug Report
1
Allow users to dynamically change the DraggingItem
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
TextBox (or input control) is in LargeContent of  FluidContentControl in RadTileViewItem. Validation fails and Red border is shown on the TextBox. TileState is changed then it is Maximized again. Validation fails again but no red border is shown.
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TileView
Type: Bug Report
5
Add deferred scrolling support
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
Add GridSplitters between the columns and rows of the TileView so that rows and columns can be resized.

GridSplitters should be available when the tiles are restored or Minimized/Maximized. In the latter case, only a vertical one should be available to resize the minimized tiles' width in respect to the maximized one.
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
Provide support for changing the ItemContainerStyleSelector runtime.
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
InvalidOperationException in thrown in design time in certain situations
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TileView
Type: Feature Request
2
ScrollViewer property needed like in RadTreeview
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TileView
Type: Feature Request
4
Add a build-in paging support for the RadTileView.
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
The Header of the TileViewItems is bound only for the first X tiles, where X is the loadsize of the VirtualQueryableCollectionView
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TileView
Type: Feature Request
15
Posibility to group the TileViewItems needed
Approved
Last Updated: 05 Jan 2017 07:59 by ADMIN
Implement command support for events like TileStateChanged. Allow sending the TileItem, which state is changing, as an argument.
1 2 3 4