[]
        
(Showing Draft Content)

C1.WPF.C1TreeViewPanel

C1TreeViewPanel Class

Virtualizing stack panel.

Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.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)

Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.

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)

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

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.

Extension Methods