Click or drag to resize
TreeViewPanel Class
GridViewVirtualizingPanel is used to arrange children into single line.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.TreeView
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class TreeViewPanel : VirtualizingPanel, 
	IScrollInfo

The TreeViewPanel type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewPanel
Initializes a new instance of the TreeViewPanel class.
Top
Methods
  NameDescription
Public methodStatic memberAddCleanUpVirtualizedItemHandler
Adds a handler for the CleanUpVirtualizedItem attached event.
Protected methodArrangeOverride
Arranges the override.
(Overrides FrameworkElementArrangeOverride(Size).)
Protected methodBringIndexIntoView
Generates the item at the specified index and calls BringIntoView on it.
(Overrides VirtualizingPanelBringIndexIntoView(Int32).)
Public methodStatic memberGetIsVirtualizing
Retrieves the value for IsVirtualizingProperty.
Public methodStatic memberGetTreeVirtualizationMode
Retrieves the value for TreeVirtualizationModeProperty.
Public methodStatic memberGetVirtualizationMode
Retrieves the value for VirtualizationModeProperty.
Public methodLineDown
Scroll content by one line to the bottom. Subclasses can override this method and call SetVerticalOffset to change the behavior of what "line" means.
Public methodLineLeft
Scroll content by one line to the left. Subclasses can override this method and call SetHorizontalOffset to change the behavior of what "line" means.
Public methodLineRight
Scroll content by one line to the right. Subclasses can override this method and call SetHorizontalOffset to change the behavior of what "line" means.
Public methodLineUp
Scroll content by one line to the top. Subclasses can override this method and call SetVerticalOffset to change the behavior of what "line" means.
Public methodMakeVisible
GridViewVirtualizingPanel implementation of .
Protected methodMeasureOverride
General GridViewVirtualizingPanel layout behavior is to grow unbounded in the "stacking" direction (Size To Content). Children in this dimension are encouraged to be as large as they like. In the other dimension, GridViewVirtualizingPanel will assume the maximum size of its children.
(Overrides FrameworkElementMeasureOverride(Size).)
Public methodMouseWheelDown
Scroll content by one page to the bottom. Subclasses can override this method and call SetVerticalOffset to change the behavior of the mouse wheel increment.
Public methodMouseWheelLeft
Scroll content by one page to the left. Subclasses can override this method and call SetHorizontalOffset to change the behavior of the mouse wheel increment.
Public methodMouseWheelRight
Scroll content by one page to the right. Subclasses can override this method and call SetHorizontalOffset to change the behavior of the mouse wheel increment.
Public methodMouseWheelUp
Scroll content by one page to the top. Subclasses can override this method and call SetVerticalOffset to change the behavior of the mouse wheel increment.
Protected methodOnCleanUpVirtualizedItem
Called when an item is being re-virtualized.
Protected methodOnClearChildren
Called when the UI collection of children is cleared by the base Panel class.
(Overrides VirtualizingPanelOnClearChildren.)
Protected methodOnGotKeyboardFocus
Override of OnGotKeyboardFocus. Called when focus moves to any child or sub child of this VSP Used by MyTreeView virtualization to keep track of the focused item.
(Overrides UIElementOnGotKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnItemsChanged
Called when the Items collection associated with the containing ItemsControl changes.
(Overrides VirtualizingPanelOnItemsChanged(Object, ItemsChangedEventArgs).)
Protected methodOnLostKeyboardFocus
Override of OnLostKeyboardFocus. Called when focus moves away from this VSP. Used by MyTreeView virtualization to keep track of the focused item.
(Overrides UIElementOnLostKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnViewportSizeChanged
Allows subclasses to be notified of changes to the viewport size data.
Public methodPageDown
Scroll content by one page to the bottom. Subclasses can override this method and call SetVerticalOffset to change the behavior of what "page" means.
Public methodPageLeft
Scroll content by one page to the left. Subclasses can override this method and call SetHorizontalOffset to change the behavior of what "page" means.
Public methodPageRight
Scroll content by one page to the right. Subclasses can override this method and call SetHorizontalOffset to change the behavior of what "page" means.
Public methodPageUp
Scroll content by one page to the top. Subclasses can override this method and call SetVerticalOffset to change the behavior of what "page" means.
Public methodStatic memberRemoveCleanUpVirtualizedItemHandler
Removes a handler for the CleanUpVirtualizedItem attached event.
Public methodSetHorizontalOffset
Set the HorizontalOffset to the passed value.
Public methodStatic memberSetIsVirtualizing
Sets the value for IsVirtualizingProperty.
Public methodStatic memberSetTreeVirtualizationMode
Sets the value for TreeVirtualizationModeProperty.
Public methodSetVerticalOffset
Set the VerticalOffset to the passed value.
Public methodStatic memberSetVirtualizationMode
Sets the value for VirtualizationModeProperty.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberChildDefaultLengthProperty
Identifies the ChildDefaultLength property.
Public fieldStatic memberCleanUpVirtualizedItemEvent
Called on the ItemsControl that owns this panel when an item is being re-virtualized.
Public fieldStatic memberIsVirtualizingProperty
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to turn virtualization on/off.
Public fieldStatic memberOrientationProperty
DependencyProperty for Orientation property.
Public fieldStatic memberTreeVirtualizationModeProperty
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to modify the virtualization mode. Note that this property can only be set before the panel has been initialized.
Public fieldStatic memberVirtualizationModeProperty
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to modify the virtualization mode. Note that this property can only be set before the panel has been initialized.
Top
Properties
  NameDescription
Public propertyCanHorizontallyScroll
GridViewVirtualizingPanel reacts to this property by changing its child measurement algorithm. If scrolling in a dimension, infinite space is allowed the child; otherwise, available size is preserved.
Public propertyCanVerticallyScroll
GridViewVirtualizingPanel reacts to this property by changing its child measurement algorithm. If scrolling in a dimension, infinite space is allowed the child; otherwise, available size is preserved.
Public propertyChildDefaultLength
Gets or sets the expected length (width or height) for the items of the panel. This is a dependency property.
Public propertyExtentHeight
ExtentHeight contains the vertical size of the scrolled content element in 1/96".
Public propertyExtentWidth
ExtentWidth contains the horizontal size of the scrolled content element in 1/96".
Protected propertyHasLogicalOrientation
This property is always false because this panel has only vertical.
(Overrides PanelHasLogicalOrientation.)
Public propertyHorizontalOffset
HorizontalOffset is the horizontal offset of the scrolled content in 1/96".
Public propertyIsVisualCacheEnabled
Determines whether the panel should cache its visual items or not. Caching improves scrolling performance but may affect memory usage.
Protected propertyLogicalOrientation
Orientation of the panel if its layout is in one dimension. Otherwise HasLogicalOrientation is false and LogicalOrientation should be ignored.
(Overrides PanelLogicalOrientation.)
Public propertyScrollOwner
ScrollOwner is the container that controls any scrollbars, headers, etc... that are dependant on this IScrollInfo's properties.
Public propertyVerticalOffset
VerticalOffset is the vertical offset of the scrolled content in 1/96".
Public propertyViewportHeight
ViewportHeight contains the vertical size of content's visible range in 1/96" .
Public propertyViewportWidth
ViewportWidth contains the horizontal size of content's visible range in 1/96".
Top
Attached Properties
  NameDescription
Public attached propertyIsVirtualizing
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to turn virtualization on/off.
Public attached propertyTreeVirtualizationMode
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to modify the virtualization mode. Note that this property can only be set before the panel has been initialized.
Public attached propertyVirtualizationMode
Attached property for use on the ItemsControl that is the host for the items being presented by this panel. Use this property to modify the virtualization mode. Note that this property can only be set before the panel has been initialized.
Top
Attached Events
  NameDescription
Public attached eventCleanUpVirtualizedItem
Called on the ItemsControl that owns this panel when an item is being re-virtualized.
Top
See Also