[]
Implements a selectable item in a C1TreeView control.
[TemplatePart(Name = "HeaderPanel", Type = typeof(Grid))]
[TemplatePart(Name = "Header", Type = typeof(ContentControl))]
[TemplatePart(Name = "ExpandButton", Type = typeof(ToggleButton))]
[TemplatePart(Name = "ChildrenPanel", Type = typeof(ItemsPresenter))]
[TemplatePart(Name = "HeaderPanelContainer", Type = typeof(Grid))]
[TemplateVisualState(Name = "Expanded", GroupName = "ExpandedStatesStates")]
[TemplateVisualState(Name = "Collapsed", GroupName = "ExpandedStatesStates")]
[TemplateVisualState(Name = "Selected", GroupName = "SelectionStates")]
[TemplateVisualState(Name = "Unselected", GroupName = "SelectionStates")]
public class C1TreeViewItem : C1HierarchicalPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage
Name | Description |
---|---|
C1TreeViewItem() | Initializes a new instance of a C1TreeViewItem. |
Name | Description |
---|---|
EditTemplateProperty | Identifies the EditTemplate dependency property. |
IsExpandedProperty | Identifies the IsExpanded dependency property. |
IsSelectedProperty | Identifies the IsSelected 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. |
SelectedBackgroundProperty | Identifies the SelectedBackground dependency property. |
TextAlignmentProperty | Identifies the TextAlignment dependency property. |
TextDecorationsProperty | Identifies the TextDecorations dependency property. |
TextWrappingProperty | Identifies the TextWrapping dependency property. |
Name | Description |
---|---|
EditTemplate | Gets or sets the template used to edit the contents of the items. |
FirstNode | Gets this node's first child. |
Index | Gets the index of this C1.Silverlight.C1TreeViewItem in its parent items collection |
IsExpanded | Gets or sets a value that indicates whether a C1TreeViewItem is expanded. |
IsSelected | Gets or sets whether a C1TreeViewItem control is selected. |
LastNode | Gets this node's last child. |
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. |
NextNode | Gets the next node to this one on the C1.Silverlight.C1TreeView. |
NextVisibleNode | Gets the next visible node to this one on the C1.Silverlight.C1TreeView. |
Panel | Get the panel associated with this items control. |
Parent | Gets the C1TreeViewItem that is the parent of this item. |
ParentItem | Gets the C1TreeViewItem that is the parent of this item. |
PrevNode | Gets the previous node to this one on the C1.Silverlight.C1TreeView. |
PrevVisibleNode | Gets the previous visible node to this one on the C1.Silverlight.C1TreeView. |
SelectedBackground | Gets or sets the Brush used to highlight the control when it is selected. |
TextAlignment | Gets or sets a value that indicates the horizontal alignment of text content in the Header. |
TextDecorations | Gets or sets a TextDecorationCollection that contains the effects to apply to the text of the Header. |
TextWrapping | Gets or sets a value that indicates how any text should be wrapped in the Header. |
TreeView | Identifies the parent C1TreeView of this item. |
Name | Description |
---|---|
ChangeVisualStateExpandedStates(bool) | Updates the current visual state of the ExpandedStates visual state group to match the object's properties. |
ChangeVisualStateItemLine(bool, bool) | Updates the current visual state of the ItemLine visual state group to match the object's properties. |
ChangeVisualStateSelection(bool) | Updates the current visual state of the Selection visual state group to match the object's properties. |
ChangeVisualStateShowLines(bool) | Updates the current visual state of the ShowLines visual state group to match the object's properties. |
ClearContainerForItemOverride(DependencyObject, object) | |
Collapse() | Collapses the C1.Silverlight.C1TreeViewItem. |
EnsureVisible() | Scrolls the C1.Silverlight.C1TreeViewItem into view. |
Expand() | Expands the C1.Silverlight.C1TreeViewItem. |
GetContainerForItemOverride() | |
IsItemItsOwnContainerOverride(object) | |
MeasureOverride(Size) | Called to re-measure a control. |
OnApplyTemplate() | Builds the visual tree for the C1TreeViewItem control when a new template is applied. |
OnClick(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeViewItem.Click event. |
OnCollapsed(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeViewItem.Collapsed event. |
OnCollapsing(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeViewItem.Collapsing event. |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
OnExpandButtonClick() | Called when the user clicks the expand/collapse button. |
OnExpanded(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeViewItem.Expanded event. |
OnExpanding(SourcedEventArgs) | Raises the C1.Silverlight.C1TreeViewItem.Expanding event. |
OnHeaderChanged(object) | Called when the value of the Header property changes. |
OnItemCleared(ItemPreparedEventArgs) | Raises the C1.Silverlight.C1HierarchicalPresenter.ItemCleared event. |
OnItemPrepared(ItemPreparedEventArgs) | Raises the C1.Silverlight.C1HierarchicalPresenter.ItemPrepared event. |
OnItemsChanged(NotifyCollectionChangedEventArgs) | Called when the Items property changes. |
OnKeyDown(object, KeyEventArgs) | Called when the user presses a key, performs keyboard auto-search and node navigation. |
OnMouseLeftButtonDown(MouseButtonEventArgs) | |
OnTapped(object, C1TappedEventArgs) | Called when the user presses the left mouse button over the item. |
PrepareContainerForItemOverride(DependencyObject, object) |
Name | Description |
---|---|
Click | Occurs when the C1TreeViewItem is clicked. |
Collapsed | Occurs after the C1TreeViewItem is collapsed. |
Collapsing | Occurs before the C1TreeViewItem is collapsed. |
Expanded | Occurs after the C1TreeViewItem is expanded. |
Expanding | Occurs before the C1TreeViewItem is expanded. |
IsExpandedChanged | Event raised when the IsExpanded property has changed. |