[]
Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.
[TemplatePart(Name = "Scroll", Type = typeof(ScrollViewer))]
[TemplatePart(Name = "Root", Type = typeof(Grid))]
[TemplateVisualState(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualState(Name = "Unfocused", GroupName = "FocusStates")]
[TemplateVisualState(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplateVisualState(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
[TemplateVisualState(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[StyleTypedProperty(Property = "ScrollBarStyle", StyleTargetType = typeof(ScrollBar))]
[StyleTypedProperty(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
public class C1TreeView : C1HierarchicalPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage
Name | Description |
---|---|
C1TreeView() | Initializes a new instance of a C1TreeView. |
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. |
DisabledCuesVisibilityProperty | Identifies the DisabledCuesVisibility dependency property. |
EditTemplateProperty | Identifies the EditTemplate dependency property. |
ExpandModeProperty | Identifies the ExpandMode dependency property. |
ExpandOnClickProperty | Identifies the ExpandOnClick dependency property. |
FocusCuesVisibilityProperty | Identifies the FocusCuesVisibility dependency property. |
IsFocusedProperty | Identifies the IsFocused 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. |
ShowLinesProperty | Identifies the ShowLines dependency property. |
ValidationDecoratorStyleProperty | Identifies the ValidationDecoratorStyle 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. |
DisabledCuesVisibility | Gets or sets a value indicating whether the disabled visuals of the control are visible. |
DragDropArrowMarker | Gets the arrow element used to indicate the drop location. |
DragDropLineMarker | Gets the line element used to indicate the drop location. |
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/collapsed when the users clicks in the C1TreeViewItem header. |
FocusCuesVisibility | Gets or sets a value indicating whether the focus visuals of the control are visible. |
IsFocused | Returns true if the control has the focus. |
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 the selected item in a C1TreeView. |
SelectedItems | Gets the selected items in a C1TreeView (when in Multiple Selection mode). |
SelectionMode | Gets or sets the selection behavior for a C1TreeView. |
ShowLines | Gets or sets a value that indicates whether the connecting lines are visible. |
ValidationDecoratorStyle | Gets or sets the style that is applied to the inner C1ValidationDecorator. |
Name | Description |
---|---|
ChangeVisualStateFocus(bool) | Updates the current visual state of the Focus visual state group to match the object's properties. |
ClearContainerForItemOverride(DependencyObject, object) | |
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() | Builds the visual tree for the C1TreeView control when a new template is applied. |
OnAutoSearchBufferChanged(AutoSearchBufferChangedEventArgs) | Raises the C1.Silverlight.C1TreeView.AutoSearchBufferChanged event. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
OnDragDrop(object, DragDropEventArgs) | Raises the C1.Silverlight.C1TreeView.DragDrop event. |
OnDragEnter(DragEventArgs) | |
OnDragOver(object, DragDropEventArgs) | Raises the C1.Silverlight.C1TreeView.DragOver event. |
OnDragOver(DragEventArgs) | |
OnDragStart(object, DragDropEventArgs) | Raises the C1.Silverlight.C1TreeView.DragStart event. |
OnDrop(DragEventArgs) | |
OnItemClick(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeView.ItemClick event. |
OnItemCollapsed(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeView.ItemCollapsed event. |
OnItemCollapsing(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeView.ItemCollapsing event. |
OnItemExpanded(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeView.ItemExpanded event. |
OnItemExpanding(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeView.ItemExpanding event. |
OnItemsChanged(NotifyCollectionChangedEventArgs) | |
PrepareContainerForItemOverride(DependencyObject, object) | |
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. |
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. |