[]
        
(Showing Draft Content)

C1.WPF.TreeView.C1TreeViewPanel

C1TreeViewPanel Class

Virtualizing stack panel.

Namespace: C1.WPF.TreeView
Assembly: C1.WPF.TreeView.dll
Syntax
public class C1TreeViewPanel : VirtualizingPanel, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1TreeViewPanel()

Initializes a new instance of the C1TreeViewPanel class.

Properties

Name Description
MeasureSize

Gets the size used to measure the items in the MeasureOverride method call.

Owner

Gets the items control which is parent of this panel.

Padding

Gets the padding of the list of items.

ScrollViewer

Gets the scroll viewer associated with this panel.

TreeView

Identifies the parent C1TreeView of this panel.

Methods

Name Description
AfterItemMeasure(int, Size, bool)

Called after an item is measured in order to update scrolling structures.

AfterItemPrepared(C1TreeViewItem)

Called after the item was prepared to be shown in the panel.

ArrangeOverride(Size)
BeforeItemRecycled(C1TreeViewItem)

Called before the item is recycled.

BringIndexIntoView(int)

Bring the index into viewport.

CalculateExtentSize()

Calculates the extent size which determine the size of the panel.

GetIndexAt(Point)

Gets the item index at the specified position.

MeasureOverride(Size)
OnClearChildren()

Called when the collection of child elements is cleared by the base Panel class.

OnItemsChanged(object, ItemsChangedEventArgs)

Called when the Items collection that is associated with the ItemsControl for this Panel changes.

Refresh()

Refreshes this instance by removing all the children and creating them again.