[]
Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.
[StyleTypedProperty(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
[StyleTypedProperty(Property = "ExpandedIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "DragSourceStyle", StyleTargetType = typeof(Border))]
[StyleTypedProperty(Property = "DragTargetStyle", StyleTargetType = typeof(Border))]
[TemplatePart(Name = "Scroll", Type = typeof(ScrollViewer))]
[TemplatePart(Name = "Root", Type = typeof(Grid))]
public class C1TreeView : C1HierarchicalPresenter
Name | Description |
---|---|
C1TreeView() | Initializes a new instance of the C1TreeView class. |
Name | Description |
---|---|
AllowDragDropProperty | Identifies the AllowDragDrop dependency property. |
AutoScrollModeProperty | Identifies the AutoScrollMode dependency property. |
AutoSearchProperty | Identifies the AutoSearch dependency property. |
AutoSearchResetDelayProperty | Identifies the AutoSearchResetDelay dependency property. |
CollapseOnClickProperty | Identifies the CollapseOnClick dependency property. |
CollapsedIconTemplateProperty | Identifies the CollapsedIconTemplate dependency property. |
DragSourceStyleProperty | Identifies the DragSourceStyle dependency property. |
DragTargetStyleProperty | Identifies the DragTargetStyle dependency property. |
EditTemplateProperty | Identifies the EditTemplate dependency property. |
ExpandModeProperty | Identifies the ExpandMode dependency property. |
ExpandOnClickProperty | Identifies the ExpandOnClick dependency property. |
ExpandedIconStyleProperty | Identifies the ExpandedIconStyle dependency property. |
ExpandedIconTemplateProperty | Identifies the ExpandedIconTemplate dependency property. |
IsVirtualizingProperty | Identifies the IsVirtualizing dependency property. |
KeyboardNavigationProperty | Identifies the KeyboardNavigation dependency property. |
LineDashArrayProperty | Identifies the LineDashArray dependency property. |
LineStrokeProperty | Identifies the LineStroke dependency property. |
LineThicknessProperty | Identifies the LineThickness dependency property. |
MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
ScrollBarStyleProperty | Identifies the ScrollBarStyle dependency property. |
SelectedBackgroundProperty | Identifies the SelectedBackground dependency property. |
SelectedItemProperty | Identifies the SelectedItem dependency property. |
SelectedItemsProperty | Identifies the SelectedItems dependency property. |
SelectionModeProperty | Identifies the SelectionMode dependency property. |
ShowCheckboxesProperty | Identifies the ShowCheckboxes dependency property. |
ShowLinesProperty | Identifies the ShowLines dependency property. |
WholeWidthSelectionProperty | Identifies the WholeWidthSelection dependency property. |
Name | Description |
---|---|
AllowDragDrop | Gets or sets a value indicating whether this C1TreeView allows drag-and-drop operations. |
AutoScrollMode | Gets or sets a value indicating the auto-scroll mode used by the C1TreeView when navigating to C1treeViewItems that are not (or don“t fit) in the current ViewPort. |
AutoSearch | Enables or disables the AutoSearch functionality of the C1TreeView. |
AutoSearchResetDelay | Gets or sets a value for the delay (in milliseconds) used in the keyboard search. |
CollapseOnClick | Gets or sets a value indicating whether the node is collapsed when the users clicks in the C1TreeViewItem header. |
CollapsedIconTemplate | Content template for tree item collapsed icon. |
DragDropArrowMarker | Gets the arrow element used to indicate the drop location. |
DragDropLineMarker | Gets the line element used to indicate the drop location. |
DragSourceStyle | Gets or sets the style of the drag source item. |
DragTargetStyle | Gets or sets the style of the drag target item. |
EditTemplate | Gets or sets the template used to edit the contents of the items. |
ExpandMode | Gets or sets a value indicating the allowed number of expanded C1TreeViewItems. |
ExpandOnClick | Gets or sets a value indicating whether the node is expanded when the users clicks in the C1TreeViewItem header. |
ExpandedIconStyle | Gets or sets the style applied to the expanded/collapsed icon. |
ExpandedIconTemplate | Content template for tree item expanded icon. |
IsVirtualizing | Gets or sets a value indicating whether the node is virtualized. |
KeyboardNavigation | Enables or disables the Keyboard navigation functionality of the C1TreeView. |
LineDashArray | Gets or sets a Collection of System.Double values that indicates the pattern of dashes and gaps that is used to the connecting lines. |
LineStroke | Gets or sets the brush used to paint the connecting lines. |
LineThickness | Gets or sets the thickness of the connecting lines. |
MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
Panel | Gets the panel associated with this items control. |
ScrollBarStyle | Gets or sets the style used for the inner scrollbar. |
SelectedBackground | Gets or sets the Brush used to highlight the control when it is selected. |
SelectedItem | Gets or sets the selected item in a C1TreeView. |
SelectedItems | Gets or sets the selected items in a C1TreeView(when in Multiple Selection mode). |
SelectionMode | Gets or sets the selection behavior for a C1TreeView. |
ShowCheckboxes | Gets or sets the treeview item has show checkbox or not. |
ShowLines | Gets or sets a value that indicates whether the connecting lines are visible. |
WholeWidthSelection | Gets or sets whether the selection item should take the whole width of the control or not. |
Name | Description |
---|---|
ClearContainerForItemOverride(DependencyObject, object) | |
Dispose(bool) | |
FindItem(string) | Returns the first item that matches exactly with the text used as search parameter |
FinishEditing() | make the editing item quit editing status |
FinishEditing(bool, bool) | make the editing item quit editing status |
GetContainerForItemOverride() | |
GetNode(Point) | Gets the nearest C1TreeViewItem to the specified location. |
IsItemItsOwnContainerOverride(object) | |
OnApplyTemplate() | |
OnAutoSearchBufferChanged(AutoSearchBufferChangedEventArgs) | Raises the C1TreeView.AutoSearchBufferChanged event. |
OnDragDrop(object, DragDropEventArgs) | Raises the C1TreeView.DragDrop event. |
OnDragEnter(object, DragDropEventArgs) | Raises the C1TreeView.DragEnter event. |
OnDragEnter(DragEventArgs) | |
OnDragOver(object, DragDropEventArgs) | Raises the C1TreeView.DragOver event. |
OnDragOver(DragEventArgs) | |
OnDragStart(object, DragDropEventArgs) | Raises the C1TreeView.DragStart event. |
OnDrop(DragEventArgs) | |
OnItemClick(SourcedEventArgs) | Raises the C1TreeView.ItemClick event. |
OnItemCollapsed(SourcedEventArgs) | Raises the C1TreeView.ItemCollapsed event. |
OnItemCollapsing(SourcedEventArgs) | Raises the C1TreeView.ItemCollapsing event. |
OnItemExpanded(SourcedEventArgs) | Raises the C1TreeView.ItemExpanded event. |
OnItemExpanding(SourcedEventArgs) | Raises the C1TreeView.ItemExpanding event. |
OnItemsChanged(NotifyCollectionChangedEventArgs) | |
PrepareContainerForItemOverride(DependencyObject, object) | |
ScrollIntoView(C1TreeViewItem) | Scrolls the content within the ScrollViewer to the specified Tree View Item |
StartEditing() | make the selected item enter into editing status |
StartEditing(C1TreeViewItem) | make the item enter into editing status |
Name | Description |
---|---|
AutoSearchBufferChanged | Occurs when search text is changed. |
DragDrop | Fires at the end of a drag drop process, when the user releases the mouse button over a registered drop target. |
DragEnter | Fires during a drag drop process, when the cursor enters a registered drop target. |
DragOver | Fires during a drag drop process, when the cursor moves over a registered drop target. |
DragStart | Fires when a drag drop process starts. |
ItemClick | Occurs when a C1TreeViewItem is clicked. |
ItemCollapsed | Occurs when a C1TreeViewItem is collapsed. |
ItemCollapsing | Occurs when a C1TreeViewItem is collapsing. |
ItemExpanded | Occurs when a C1TreeViewItem is expanded. |
ItemExpanding | Occurs when a C1TreeViewItem is expanding. |
SelectionChanged | Occurs when the current selection changes. |
SelectionChanging | Occurs when the current selection begin to change. |
SelectionModeChanged | Event raised when the SelectionMode property has changed. |