TreeView is in dropdowncontent of a DropDownButton. BringPathIntoView is called on loaded of the button (or the tree). It tries to bring several nested levels deep for example item 90.3.2.1 (4 levels deep).
On opening the button , the scrollviewer is not scrolled to the desired item.
Posssible workarounds:
- invoke the BringPathIntoView method in a Dispatcher.BeginInvoke call
- disable the treeview animations before the call and enable them after the call ( telerik:AnimationManager.IsAnimationEnabled = False)
Select nested item in virtualized treeview with single selection mode.
Collapse its parent. Select item in the level of the parent. Expand the parent and notice two items are visually selected.
Expexted : only the last selected item with mouse should be visually selected.
Workaround:
private void TreeView_ItemPrepared(object sender, RadTreeViewItemPreparedEventArgs e)Select an item with mouse, scroll thousands of items down and then shift select item to perform range selection. This will block the UI thread for seconds.
Setting the HeaderStringFormat of RadTreeViewItem does not format the Header. As a workaround, HeaderTemplate of RadTreeViewItem could be set which has TextBlock with StringFormat property set on its Text Binding. <DataTemplate x:Key="template"> <TextBlock Text="{Binding ., StringFormat='Received ({0:N0})'}" /> </DataTemplate> Available in LIB version: 2016.3.1121
Virtualized RadTreeView. Windows Display Size is set to Larger (150%). Expanding and collapsing TreeViewItems leads to ArgumentException in TreeViewPanel.ExtendDesiredSize method - "Width and Height must be non negative". Available in LIB version: 2015.3.1207
If the RadTreeView control is used on touch device in scenario with Checkbox support, the TreeViewItem cannot be (un)checked with a single tap. Available in LIB version: 2015.3.1109
If you define a RadMaskedInput control in the ItemEditTemplate of RadTreeView and then bind the Value property of the masked input to a property from the RadTreeViewItem's view model, the input displays the view model's class ToString() method. Instead the value of the bound property should be displayed. Fix is available in LIB Version: 2015.3.1005.
RadTreeViewItem is focused but it is not selected. KeyDown should select the item below the focused one but it does not. Will be available in Q3 2015 Release.
TreeView is bound to CollectionViewSource. Certain items are expanded. The CVS is refreshed leading to ArgumentOutOfRange Exception in the TreeViewPanel.cs NOTE: The bug is reported via the following scenario. When the bound IsExpanded property is changed in the model, OnCollectionChanged with NotifyChangedCollectionAction.Reset is invoked. We consider this as highly unsafe operation. What actually happens is that by the time containers are measured / arranged (because the IsExpanded is triggered) - Reset also triggers reset / measure arrange of all items. This is the same as modifying a list/collection when it is iterated - the framework wll throw an error. To better prove this is unsafe, we also tested System.Windows.Controls.TreeView. On MouseDown, we set IsExpanded = true on collased item and in the PropertyChnaged handler we invoked OnCollectionChanged with Reset in the bound ObservableCollection. This resulted in StackOverflowException in PresentationCore.dll. Conclusions. The Exception is fixed in the RadTreeView but we consider invoking Reset in such moment (during measure/arrange) as not supported / critical / unsafe operation.
In scenarios when both ScrollViewers (vertical and horizontal are visible), pressing Home Key might lead to freezing of the Vertical ScrollBar. Available in LIB version: 2015.1.0309
Consider replacing the current touch gesture which starts drag operation. Now the gesture (tab and hold + move up) is not very intuitive. With Q2 2015 Release the DragDrop on touch device will work the following way. Hold down the finger on RadTreeViewItem, TouchIndicator circle appears and then you can move your finger to start the dragging.