Show / Hide Table of Contents

Class ComposableTreeView

Implements a tree view whose items are composed by a CompositionContainer.

Inheritance
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
System.Windows.Controls.TreeView
ComposableTreeView
Implements
System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild
System.Windows.Controls.TreeView.SelectedItemChangedEvent
System.Windows.Controls.TreeView.SelectedItemProperty
System.Windows.Controls.TreeView.SelectedValuePathProperty
System.Windows.Controls.TreeView.SelectedValueProperty
System.Windows.Controls.TreeView.ExpandSubtree(System.Windows.Controls.TreeViewItem)
System.Windows.Controls.TreeView.IsItemItsOwnContainerOverride(System.Object)
System.Windows.Controls.TreeView.OnCreateAutomationPeer()
System.Windows.Controls.TreeView.OnIsKeyboardFocusWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.Controls.TreeView.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)
System.Windows.Controls.TreeView.OnKeyDown(System.Windows.Input.KeyEventArgs)
System.Windows.Controls.TreeView.HandlesScrolling
System.Windows.Controls.TreeView.SelectedItem
System.Windows.Controls.TreeView.SelectedValue
System.Windows.Controls.TreeView.SelectedValuePath
System.Windows.Controls.TreeView.SelectedItemChanged
System.Windows.Controls.ItemsControl.AlternationCountProperty
System.Windows.Controls.ItemsControl.AlternationIndexProperty
System.Windows.Controls.ItemsControl.DisplayMemberPathProperty
System.Windows.Controls.ItemsControl.GroupStyleSelectorProperty
System.Windows.Controls.ItemsControl.HasItemsProperty
System.Windows.Controls.ItemsControl.IsGroupingProperty
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitiveProperty
System.Windows.Controls.ItemsControl.IsTextSearchEnabledProperty
System.Windows.Controls.ItemsControl.ItemBindingGroupProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleSelectorProperty
System.Windows.Controls.ItemsControl.ItemsPanelProperty
System.Windows.Controls.ItemsControl.ItemsSourceProperty
System.Windows.Controls.ItemsControl.ItemStringFormatProperty
System.Windows.Controls.ItemsControl.ItemTemplateProperty
System.Windows.Controls.ItemsControl.ItemTemplateSelectorProperty
System.Windows.Controls.ItemsControl.AddChild(System.Object)
System.Windows.Controls.ItemsControl.AddText(System.String)
System.Windows.Controls.ItemsControl.BeginInit()
System.Windows.Controls.ItemsControl.ClearContainerForItemOverride(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.Controls.ItemsControl, System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.EndInit()
System.Windows.Controls.ItemsControl.GetAlternationIndex(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.GetItemsOwner(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.IsItemItsOwnContainer(System.Object)
System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.OnAlternationCountChanged(System.Int32, System.Int32)
System.Windows.Controls.ItemsControl.OnDisplayMemberPathChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnGroupStyleSelectorChanged(System.Windows.Controls.GroupStyleSelector, System.Windows.Controls.GroupStyleSelector)
System.Windows.Controls.ItemsControl.OnItemBindingGroupChanged(System.Windows.Data.BindingGroup, System.Windows.Data.BindingGroup)
System.Windows.Controls.ItemsControl.OnItemContainerStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.Controls.ItemsControl.OnItemContainerStyleSelectorChanged(System.Windows.Controls.StyleSelector, System.Windows.Controls.StyleSelector)
System.Windows.Controls.ItemsControl.OnItemsPanelChanged(System.Windows.Controls.ItemsPanelTemplate, System.Windows.Controls.ItemsPanelTemplate)
System.Windows.Controls.ItemsControl.OnItemsSourceChanged(System.Collections.IEnumerable, System.Collections.IEnumerable)
System.Windows.Controls.ItemsControl.OnItemStringFormatChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnItemTemplateChanged(System.Windows.DataTemplate, System.Windows.DataTemplate)
System.Windows.Controls.ItemsControl.OnItemTemplateSelectorChanged(System.Windows.Controls.DataTemplateSelector, System.Windows.Controls.DataTemplateSelector)
System.Windows.Controls.ItemsControl.OnTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.ItemsControl.ShouldApplyItemContainerStyle(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.Clear()
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearValue(System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.StoreItemValue(System.Object, System.Windows.DependencyProperty, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddChild(System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddText(System.String)
System.Windows.Controls.ItemsControl.ToString()
System.Windows.Controls.ItemsControl.AlternationCount
System.Windows.Controls.ItemsControl.DisplayMemberPath
System.Windows.Controls.ItemsControl.GroupStyle
System.Windows.Controls.ItemsControl.GroupStyleSelector
System.Windows.Controls.ItemsControl.HasItems
System.Windows.Controls.ItemsControl.IsGrouping
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitive
System.Windows.Controls.ItemsControl.IsTextSearchEnabled
System.Windows.Controls.ItemsControl.ItemBindingGroup
System.Windows.Controls.ItemsControl.ItemContainerGenerator
System.Windows.Controls.ItemsControl.ItemContainerStyle
System.Windows.Controls.ItemsControl.ItemContainerStyleSelector
System.Windows.Controls.ItemsControl.Items
System.Windows.Controls.ItemsControl.ItemsPanel
System.Windows.Controls.ItemsControl.ItemsSource
System.Windows.Controls.ItemsControl.ItemStringFormat
System.Windows.Controls.ItemsControl.ItemTemplate
System.Windows.Controls.ItemsControl.ItemTemplateSelector
System.Windows.Controls.ItemsControl.LogicalChildren
System.Windows.Controls.Control.BackgroundProperty
System.Windows.Controls.Control.BorderBrushProperty
System.Windows.Controls.Control.BorderThicknessProperty
System.Windows.Controls.Control.FontFamilyProperty
System.Windows.Controls.Control.FontSizeProperty
System.Windows.Controls.Control.FontStretchProperty
System.Windows.Controls.Control.FontStyleProperty
System.Windows.Controls.Control.FontWeightProperty
System.Windows.Controls.Control.ForegroundProperty
System.Windows.Controls.Control.HorizontalContentAlignmentProperty
System.Windows.Controls.Control.IsTabStopProperty
System.Windows.Controls.Control.MouseDoubleClickEvent
System.Windows.Controls.Control.PaddingProperty
System.Windows.Controls.Control.PreviewMouseDoubleClickEvent
System.Windows.Controls.Control.TabIndexProperty
System.Windows.Controls.Control.TemplateProperty
System.Windows.Controls.Control.VerticalContentAlignmentProperty
System.Windows.Controls.Control.ArrangeOverride(System.Windows.Size)
System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
System.Windows.Controls.Control.OnMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.OnPreviewMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.OnTemplateChanged(System.Windows.Controls.ControlTemplate, System.Windows.Controls.ControlTemplate)
System.Windows.Controls.Control.Background
System.Windows.Controls.Control.BorderBrush
System.Windows.Controls.Control.BorderThickness
System.Windows.Controls.Control.FontFamily
System.Windows.Controls.Control.FontSize
System.Windows.Controls.Control.FontStretch
System.Windows.Controls.Control.FontStyle
System.Windows.Controls.Control.FontWeight
System.Windows.Controls.Control.Foreground
System.Windows.Controls.Control.HorizontalContentAlignment
System.Windows.Controls.Control.IsTabStop
System.Windows.Controls.Control.Padding
System.Windows.Controls.Control.TabIndex
System.Windows.Controls.Control.Template
System.Windows.Controls.Control.VerticalContentAlignment
System.Windows.Controls.Control.MouseDoubleClick
System.Windows.Controls.Control.PreviewMouseDoubleClick
System.Windows.FrameworkElement.ActualHeightProperty
System.Windows.FrameworkElement.ActualWidthProperty
System.Windows.FrameworkElement.BindingGroupProperty
System.Windows.FrameworkElement.ContextMenuClosingEvent
System.Windows.FrameworkElement.ContextMenuOpeningEvent
System.Windows.FrameworkElement.ContextMenuProperty
System.Windows.FrameworkElement.CursorProperty
System.Windows.FrameworkElement.DataContextProperty
System.Windows.FrameworkElement.DefaultStyleKeyProperty
System.Windows.FrameworkElement.FlowDirectionProperty
System.Windows.FrameworkElement.FocusVisualStyleProperty
System.Windows.FrameworkElement.ForceCursorProperty
System.Windows.FrameworkElement.HeightProperty
System.Windows.FrameworkElement.HorizontalAlignmentProperty
System.Windows.FrameworkElement.InputScopeProperty
System.Windows.FrameworkElement.LanguageProperty
System.Windows.FrameworkElement.LayoutTransformProperty
System.Windows.FrameworkElement.LoadedEvent
System.Windows.FrameworkElement.MarginProperty
System.Windows.FrameworkElement.MaxHeightProperty
System.Windows.FrameworkElement.MaxWidthProperty
System.Windows.FrameworkElement.MinHeightProperty
System.Windows.FrameworkElement.MinWidthProperty
System.Windows.FrameworkElement.NameProperty
System.Windows.FrameworkElement.OverridesDefaultStyleProperty
System.Windows.FrameworkElement.RequestBringIntoViewEvent
System.Windows.FrameworkElement.SizeChangedEvent
System.Windows.FrameworkElement.StyleProperty
System.Windows.FrameworkElement.TagProperty
System.Windows.FrameworkElement.ToolTipClosingEvent
System.Windows.FrameworkElement.ToolTipOpeningEvent
System.Windows.FrameworkElement.ToolTipProperty
System.Windows.FrameworkElement.UnloadedEvent
System.Windows.FrameworkElement.UseLayoutRoundingProperty
System.Windows.FrameworkElement.VerticalAlignmentProperty
System.Windows.FrameworkElement.WidthProperty
System.Windows.FrameworkElement.AddLogicalChild(System.Object)
System.Windows.FrameworkElement.ApplyTemplate()
System.Windows.FrameworkElement.ArrangeCore(System.Windows.Rect)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior, System.Boolean)
System.Windows.FrameworkElement.BringIntoView()
System.Windows.FrameworkElement.BringIntoView(System.Windows.Rect)
System.Windows.FrameworkElement.FindName(System.String)
System.Windows.FrameworkElement.FindResource(System.Object)
System.Windows.FrameworkElement.GetBindingExpression(System.Windows.DependencyProperty)
System.Windows.FrameworkElement.GetFlowDirection(System.Windows.DependencyObject)
System.Windows.FrameworkElement.GetLayoutClip(System.Windows.Size)
System.Windows.FrameworkElement.GetTemplateChild(System.String)
System.Windows.FrameworkElement.GetUIParentCore()
System.Windows.FrameworkElement.GetVisualChild(System.Int32)
System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)
System.Windows.FrameworkElement.OnContextMenuClosing(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.FrameworkElement.OnContextMenuOpening(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.FrameworkElement.OnInitialized(System.EventArgs)
System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.FrameworkElement.OnRenderSizeChanged(System.Windows.SizeChangedInfo)
System.Windows.FrameworkElement.OnStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.FrameworkElement.OnToolTipClosing(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnToolTipOpening(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject)
System.Windows.FrameworkElement.ParentLayoutInvalidated(System.Windows.UIElement)
System.Windows.FrameworkElement.PredictFocus(System.Windows.Input.FocusNavigationDirection)
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.RemoveLogicalChild(System.Object)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.String)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.Windows.Data.BindingBase)
System.Windows.FrameworkElement.SetFlowDirection(System.Windows.DependencyObject, System.Windows.FlowDirection)
System.Windows.FrameworkElement.SetResourceReference(System.Windows.DependencyProperty, System.Object)
System.Windows.FrameworkElement.System.Windows.Markup.IQueryAmbient.IsAmbientPropertyAvailable(System.String)
System.Windows.FrameworkElement.TryFindResource(System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
System.Windows.FrameworkElement.UpdateDefaultStyle()
System.Windows.FrameworkElement.ActualHeight
System.Windows.FrameworkElement.ActualWidth
System.Windows.FrameworkElement.BindingGroup
System.Windows.FrameworkElement.ContextMenu
System.Windows.FrameworkElement.Cursor
System.Windows.FrameworkElement.DataContext
System.Windows.FrameworkElement.DefaultStyleKey
System.Windows.FrameworkElement.FlowDirection
System.Windows.FrameworkElement.FocusVisualStyle
System.Windows.FrameworkElement.ForceCursor
System.Windows.FrameworkElement.Height
System.Windows.FrameworkElement.HorizontalAlignment
System.Windows.FrameworkElement.InheritanceBehavior
System.Windows.FrameworkElement.InputScope
System.Windows.FrameworkElement.IsInitialized
System.Windows.FrameworkElement.IsLoaded
System.Windows.FrameworkElement.Language
System.Windows.FrameworkElement.LayoutTransform
System.Windows.FrameworkElement.Margin
System.Windows.FrameworkElement.MaxHeight
System.Windows.FrameworkElement.MaxWidth
System.Windows.FrameworkElement.MinHeight
System.Windows.FrameworkElement.MinWidth
System.Windows.FrameworkElement.Name
System.Windows.FrameworkElement.OverridesDefaultStyle
System.Windows.FrameworkElement.Parent
System.Windows.FrameworkElement.Resources
System.Windows.FrameworkElement.Style
System.Windows.FrameworkElement.Tag
System.Windows.FrameworkElement.TemplatedParent
System.Windows.FrameworkElement.ToolTip
System.Windows.FrameworkElement.Triggers
System.Windows.FrameworkElement.UseLayoutRounding
System.Windows.FrameworkElement.VerticalAlignment
System.Windows.FrameworkElement.VisualChildrenCount
System.Windows.FrameworkElement.Width
System.Windows.FrameworkElement.ContextMenuClosing
System.Windows.FrameworkElement.ContextMenuOpening
System.Windows.FrameworkElement.DataContextChanged
System.Windows.FrameworkElement.Initialized
System.Windows.FrameworkElement.Loaded
System.Windows.FrameworkElement.RequestBringIntoView
System.Windows.FrameworkElement.SizeChanged
System.Windows.FrameworkElement.SourceUpdated
System.Windows.FrameworkElement.TargetUpdated
System.Windows.FrameworkElement.ToolTipClosing
System.Windows.FrameworkElement.ToolTipOpening
System.Windows.FrameworkElement.Unloaded
System.Windows.UIElement.AllowDropProperty
System.Windows.UIElement.AreAnyTouchesCapturedProperty
System.Windows.UIElement.AreAnyTouchesCapturedWithinProperty
System.Windows.UIElement.AreAnyTouchesDirectlyOverProperty
System.Windows.UIElement.AreAnyTouchesOverProperty
System.Windows.UIElement.BitmapEffectInputProperty
System.Windows.UIElement.BitmapEffectProperty
System.Windows.UIElement.CacheModeProperty
System.Windows.UIElement.ClipProperty
System.Windows.UIElement.ClipToBoundsProperty
System.Windows.UIElement.DragEnterEvent
System.Windows.UIElement.DragLeaveEvent
System.Windows.UIElement.DragOverEvent
System.Windows.UIElement.DropEvent
System.Windows.UIElement.EffectProperty
System.Windows.UIElement.FocusableProperty
System.Windows.UIElement.GiveFeedbackEvent
System.Windows.UIElement.GotFocusEvent
System.Windows.UIElement.GotKeyboardFocusEvent
System.Windows.UIElement.GotMouseCaptureEvent
System.Windows.UIElement.GotStylusCaptureEvent
System.Windows.UIElement.GotTouchCaptureEvent
System.Windows.UIElement.IsEnabledProperty
System.Windows.UIElement.IsFocusedProperty
System.Windows.UIElement.IsHitTestVisibleProperty
System.Windows.UIElement.IsKeyboardFocusedProperty
System.Windows.UIElement.IsKeyboardFocusWithinProperty
System.Windows.UIElement.IsManipulationEnabledProperty
System.Windows.UIElement.IsMouseCapturedProperty
System.Windows.UIElement.IsMouseCaptureWithinProperty
System.Windows.UIElement.IsMouseDirectlyOverProperty
System.Windows.UIElement.IsMouseOverProperty
System.Windows.UIElement.IsStylusCapturedProperty
System.Windows.UIElement.IsStylusCaptureWithinProperty
System.Windows.UIElement.IsStylusDirectlyOverProperty
System.Windows.UIElement.IsStylusOverProperty
System.Windows.UIElement.IsVisibleProperty
System.Windows.UIElement.KeyDownEvent
System.Windows.UIElement.KeyUpEvent
System.Windows.UIElement.LostFocusEvent
System.Windows.UIElement.LostKeyboardFocusEvent
System.Windows.UIElement.LostMouseCaptureEvent
System.Windows.UIElement.LostStylusCaptureEvent
System.Windows.UIElement.LostTouchCaptureEvent
System.Windows.UIElement.ManipulationBoundaryFeedbackEvent
System.Windows.UIElement.ManipulationCompletedEvent
System.Windows.UIElement.ManipulationDeltaEvent
System.Windows.UIElement.ManipulationInertiaStartingEvent
System.Windows.UIElement.ManipulationStartedEvent
System.Windows.UIElement.ManipulationStartingEvent
System.Windows.UIElement.MouseDownEvent
System.Windows.UIElement.MouseEnterEvent
System.Windows.UIElement.MouseLeaveEvent
System.Windows.UIElement.MouseLeftButtonDownEvent
System.Windows.UIElement.MouseLeftButtonUpEvent
System.Windows.UIElement.MouseMoveEvent
System.Windows.UIElement.MouseRightButtonDownEvent
System.Windows.UIElement.MouseRightButtonUpEvent
System.Windows.UIElement.MouseUpEvent
System.Windows.UIElement.MouseWheelEvent
System.Windows.UIElement.OpacityMaskProperty
System.Windows.UIElement.OpacityProperty
System.Windows.UIElement.PreviewDragEnterEvent
System.Windows.UIElement.PreviewDragLeaveEvent
System.Windows.UIElement.PreviewDragOverEvent
System.Windows.UIElement.PreviewDropEvent
System.Windows.UIElement.PreviewGiveFeedbackEvent
System.Windows.UIElement.PreviewGotKeyboardFocusEvent
System.Windows.UIElement.PreviewKeyDownEvent
System.Windows.UIElement.PreviewKeyUpEvent
System.Windows.UIElement.PreviewLostKeyboardFocusEvent
System.Windows.UIElement.PreviewMouseDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonUpEvent
System.Windows.UIElement.PreviewMouseMoveEvent
System.Windows.UIElement.PreviewMouseRightButtonDownEvent
System.Windows.UIElement.PreviewMouseRightButtonUpEvent
System.Windows.UIElement.PreviewMouseUpEvent
System.Windows.UIElement.PreviewMouseWheelEvent
System.Windows.UIElement.PreviewQueryContinueDragEvent
System.Windows.UIElement.PreviewStylusButtonDownEvent
System.Windows.UIElement.PreviewStylusButtonUpEvent
System.Windows.UIElement.PreviewStylusDownEvent
System.Windows.UIElement.PreviewStylusInAirMoveEvent
System.Windows.UIElement.PreviewStylusInRangeEvent
System.Windows.UIElement.PreviewStylusMoveEvent
System.Windows.UIElement.PreviewStylusOutOfRangeEvent
System.Windows.UIElement.PreviewStylusSystemGestureEvent
System.Windows.UIElement.PreviewStylusUpEvent
System.Windows.UIElement.PreviewTextInputEvent
System.Windows.UIElement.PreviewTouchDownEvent
System.Windows.UIElement.PreviewTouchMoveEvent
System.Windows.UIElement.PreviewTouchUpEvent
System.Windows.UIElement.QueryContinueDragEvent
System.Windows.UIElement.QueryCursorEvent
System.Windows.UIElement.RenderTransformOriginProperty
System.Windows.UIElement.RenderTransformProperty
System.Windows.UIElement.SnapsToDevicePixelsProperty
System.Windows.UIElement.StylusButtonDownEvent
System.Windows.UIElement.StylusButtonUpEvent
System.Windows.UIElement.StylusDownEvent
System.Windows.UIElement.StylusEnterEvent
System.Windows.UIElement.StylusInAirMoveEvent
System.Windows.UIElement.StylusInRangeEvent
System.Windows.UIElement.StylusLeaveEvent
System.Windows.UIElement.StylusMoveEvent
System.Windows.UIElement.StylusOutOfRangeEvent
System.Windows.UIElement.StylusSystemGestureEvent
System.Windows.UIElement.StylusUpEvent
System.Windows.UIElement.TextInputEvent
System.Windows.UIElement.TouchDownEvent
System.Windows.UIElement.TouchEnterEvent
System.Windows.UIElement.TouchLeaveEvent
System.Windows.UIElement.TouchMoveEvent
System.Windows.UIElement.TouchUpEvent
System.Windows.UIElement.UidProperty
System.Windows.UIElement.VisibilityProperty
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate, System.Boolean)
System.Windows.UIElement.AddToEventRoute(System.Windows.EventRoute, System.Windows.RoutedEventArgs)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.Arrange(System.Windows.Rect)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.CaptureMouse()
System.Windows.UIElement.CaptureStylus()
System.Windows.UIElement.CaptureTouch(System.Windows.Input.TouchDevice)
System.Windows.UIElement.Focus()
System.Windows.UIElement.GetAnimationBaseValue(System.Windows.DependencyProperty)
System.Windows.UIElement.HitTestCore(System.Windows.Media.GeometryHitTestParameters)
System.Windows.UIElement.HitTestCore(System.Windows.Media.PointHitTestParameters)
System.Windows.UIElement.InputHitTest(System.Windows.Point)
System.Windows.UIElement.InvalidateArrange()
System.Windows.UIElement.InvalidateMeasure()
System.Windows.UIElement.InvalidateVisual()
System.Windows.UIElement.Measure(System.Windows.Size)
System.Windows.UIElement.OnAccessKey(System.Windows.Input.AccessKeyEventArgs)
System.Windows.UIElement.OnChildDesiredSizeChanged(System.Windows.UIElement)
System.Windows.UIElement.OnDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnGotMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnGotStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnGotTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnIsKeyboardFocusedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnLostFocus(System.Windows.RoutedEventArgs)
System.Windows.UIElement.OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnLostMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnLostStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnLostTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnManipulationBoundaryFeedback(System.Windows.Input.ManipulationBoundaryFeedbackEventArgs)
System.Windows.UIElement.OnManipulationCompleted(System.Windows.Input.ManipulationCompletedEventArgs)
System.Windows.UIElement.OnManipulationDelta(System.Windows.Input.ManipulationDeltaEventArgs)
System.Windows.UIElement.OnManipulationInertiaStarting(System.Windows.Input.ManipulationInertiaStartingEventArgs)
System.Windows.UIElement.OnManipulationStarted(System.Windows.Input.ManipulationStartedEventArgs)
System.Windows.UIElement.OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs)
System.Windows.UIElement.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseEnter(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeave(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnPreviewGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnPreviewKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnPreviewLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnPreviewMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnPreviewStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnPreviewStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.UIElement.OnPreviewTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnQueryCursor(System.Windows.Input.QueryCursorEventArgs)
System.Windows.UIElement.OnRender(System.Windows.Media.DrawingContext)
System.Windows.UIElement.OnStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnStylusEnter(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusLeave(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchEnter(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchLeave(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
System.Windows.UIElement.ReleaseAllTouchCaptures()
System.Windows.UIElement.ReleaseMouseCapture()
System.Windows.UIElement.ReleaseStylusCapture()
System.Windows.UIElement.ReleaseTouchCapture(System.Windows.Input.TouchDevice)
System.Windows.UIElement.RemoveHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.TranslatePoint(System.Windows.Point, System.Windows.UIElement)
System.Windows.UIElement.UpdateLayout()
System.Windows.UIElement.AllowDrop
System.Windows.UIElement.AreAnyTouchesCaptured
System.Windows.UIElement.AreAnyTouchesCapturedWithin
System.Windows.UIElement.AreAnyTouchesDirectlyOver
System.Windows.UIElement.AreAnyTouchesOver
System.Windows.UIElement.BitmapEffect
System.Windows.UIElement.BitmapEffectInput
System.Windows.UIElement.CacheMode
System.Windows.UIElement.Clip
System.Windows.UIElement.ClipToBounds
System.Windows.UIElement.CommandBindings
System.Windows.UIElement.DesiredSize
System.Windows.UIElement.Effect
System.Windows.UIElement.Focusable
System.Windows.UIElement.HasAnimatedProperties
System.Windows.UIElement.HasEffectiveKeyboardFocus
System.Windows.UIElement.InputBindings
System.Windows.UIElement.IsArrangeValid
System.Windows.UIElement.IsEnabled
System.Windows.UIElement.IsEnabledCore
System.Windows.UIElement.IsFocused
System.Windows.UIElement.IsHitTestVisible
System.Windows.UIElement.IsInputMethodEnabled
System.Windows.UIElement.IsKeyboardFocused
System.Windows.UIElement.IsKeyboardFocusWithin
System.Windows.UIElement.IsManipulationEnabled
System.Windows.UIElement.IsMeasureValid
System.Windows.UIElement.IsMouseCaptured
System.Windows.UIElement.IsMouseCaptureWithin
System.Windows.UIElement.IsMouseDirectlyOver
System.Windows.UIElement.IsMouseOver
System.Windows.UIElement.IsStylusCaptured
System.Windows.UIElement.IsStylusCaptureWithin
System.Windows.UIElement.IsStylusDirectlyOver
System.Windows.UIElement.IsStylusOver
System.Windows.UIElement.IsVisible
System.Windows.UIElement.Opacity
System.Windows.UIElement.OpacityMask
System.Windows.UIElement.PersistId
System.Windows.UIElement.RenderSize
System.Windows.UIElement.RenderTransform
System.Windows.UIElement.RenderTransformOrigin
System.Windows.UIElement.SnapsToDevicePixels
System.Windows.UIElement.StylusPlugIns
System.Windows.UIElement.TouchesCaptured
System.Windows.UIElement.TouchesCapturedWithin
System.Windows.UIElement.TouchesDirectlyOver
System.Windows.UIElement.TouchesOver
System.Windows.UIElement.Uid
System.Windows.UIElement.Visibility
System.Windows.UIElement.DragEnter
System.Windows.UIElement.DragLeave
System.Windows.UIElement.DragOver
System.Windows.UIElement.Drop
System.Windows.UIElement.FocusableChanged
System.Windows.UIElement.GiveFeedback
System.Windows.UIElement.GotFocus
System.Windows.UIElement.GotKeyboardFocus
System.Windows.UIElement.GotMouseCapture
System.Windows.UIElement.GotStylusCapture
System.Windows.UIElement.GotTouchCapture
System.Windows.UIElement.IsEnabledChanged
System.Windows.UIElement.IsHitTestVisibleChanged
System.Windows.UIElement.IsKeyboardFocusedChanged
System.Windows.UIElement.IsKeyboardFocusWithinChanged
System.Windows.UIElement.IsMouseCapturedChanged
System.Windows.UIElement.IsMouseCaptureWithinChanged
System.Windows.UIElement.IsMouseDirectlyOverChanged
System.Windows.UIElement.IsStylusCapturedChanged
System.Windows.UIElement.IsStylusCaptureWithinChanged
System.Windows.UIElement.IsStylusDirectlyOverChanged
System.Windows.UIElement.IsVisibleChanged
System.Windows.UIElement.KeyDown
System.Windows.UIElement.KeyUp
System.Windows.UIElement.LayoutUpdated
System.Windows.UIElement.LostFocus
System.Windows.UIElement.LostKeyboardFocus
System.Windows.UIElement.LostMouseCapture
System.Windows.UIElement.LostStylusCapture
System.Windows.UIElement.LostTouchCapture
System.Windows.UIElement.ManipulationBoundaryFeedback
System.Windows.UIElement.ManipulationCompleted
System.Windows.UIElement.ManipulationDelta
System.Windows.UIElement.ManipulationInertiaStarting
System.Windows.UIElement.ManipulationStarted
System.Windows.UIElement.ManipulationStarting
System.Windows.UIElement.MouseDown
System.Windows.UIElement.MouseEnter
System.Windows.UIElement.MouseLeave
System.Windows.UIElement.MouseLeftButtonDown
System.Windows.UIElement.MouseLeftButtonUp
System.Windows.UIElement.MouseMove
System.Windows.UIElement.MouseRightButtonDown
System.Windows.UIElement.MouseRightButtonUp
System.Windows.UIElement.MouseUp
System.Windows.UIElement.MouseWheel
System.Windows.UIElement.PreviewDragEnter
System.Windows.UIElement.PreviewDragLeave
System.Windows.UIElement.PreviewDragOver
System.Windows.UIElement.PreviewDrop
System.Windows.UIElement.PreviewGiveFeedback
System.Windows.UIElement.PreviewGotKeyboardFocus
System.Windows.UIElement.PreviewKeyDown
System.Windows.UIElement.PreviewKeyUp
System.Windows.UIElement.PreviewLostKeyboardFocus
System.Windows.UIElement.PreviewMouseDown
System.Windows.UIElement.PreviewMouseLeftButtonDown
System.Windows.UIElement.PreviewMouseLeftButtonUp
System.Windows.UIElement.PreviewMouseMove
System.Windows.UIElement.PreviewMouseRightButtonDown
System.Windows.UIElement.PreviewMouseRightButtonUp
System.Windows.UIElement.PreviewMouseUp
System.Windows.UIElement.PreviewMouseWheel
System.Windows.UIElement.PreviewQueryContinueDrag
System.Windows.UIElement.PreviewStylusButtonDown
System.Windows.UIElement.PreviewStylusButtonUp
System.Windows.UIElement.PreviewStylusDown
System.Windows.UIElement.PreviewStylusInAirMove
System.Windows.UIElement.PreviewStylusInRange
System.Windows.UIElement.PreviewStylusMove
System.Windows.UIElement.PreviewStylusOutOfRange
System.Windows.UIElement.PreviewStylusSystemGesture
System.Windows.UIElement.PreviewStylusUp
System.Windows.UIElement.PreviewTextInput
System.Windows.UIElement.PreviewTouchDown
System.Windows.UIElement.PreviewTouchMove
System.Windows.UIElement.PreviewTouchUp
System.Windows.UIElement.QueryContinueDrag
System.Windows.UIElement.QueryCursor
System.Windows.UIElement.StylusButtonDown
System.Windows.UIElement.StylusButtonUp
System.Windows.UIElement.StylusDown
System.Windows.UIElement.StylusEnter
System.Windows.UIElement.StylusInAirMove
System.Windows.UIElement.StylusInRange
System.Windows.UIElement.StylusLeave
System.Windows.UIElement.StylusMove
System.Windows.UIElement.StylusOutOfRange
System.Windows.UIElement.StylusSystemGesture
System.Windows.UIElement.StylusUp
System.Windows.UIElement.TextInput
System.Windows.UIElement.TouchDown
System.Windows.UIElement.TouchEnter
System.Windows.UIElement.TouchLeave
System.Windows.UIElement.TouchMove
System.Windows.UIElement.TouchUp
System.Windows.Media.Visual.AddVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.FindCommonVisualAncestor(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsAncestorOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsDescendantOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.OnDpiChanged(System.Windows.DpiScale, System.Windows.DpiScale)
System.Windows.Media.Visual.OnVisualChildrenChanged(System.Windows.DependencyObject, System.Windows.DependencyObject)
System.Windows.Media.Visual.PointFromScreen(System.Windows.Point)
System.Windows.Media.Visual.PointToScreen(System.Windows.Point)
System.Windows.Media.Visual.RemoveVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Media3D.Visual3D)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToDescendant(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToVisual(System.Windows.Media.Visual)
System.Windows.Media.Visual.VisualBitmapEffect
System.Windows.Media.Visual.VisualBitmapEffectInput
System.Windows.Media.Visual.VisualBitmapScalingMode
System.Windows.Media.Visual.VisualCacheMode
System.Windows.Media.Visual.VisualClearTypeHint
System.Windows.Media.Visual.VisualClip
System.Windows.Media.Visual.VisualEdgeMode
System.Windows.Media.Visual.VisualEffect
System.Windows.Media.Visual.VisualOffset
System.Windows.Media.Visual.VisualOpacity
System.Windows.Media.Visual.VisualOpacityMask
System.Windows.Media.Visual.VisualParent
System.Windows.Media.Visual.VisualScrollableAreaClip
System.Windows.Media.Visual.VisualTextHintingMode
System.Windows.Media.Visual.VisualTextRenderingMode
System.Windows.Media.Visual.VisualTransform
System.Windows.Media.Visual.VisualXSnappingGuidelines
System.Windows.Media.Visual.VisualYSnappingGuidelines
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
System.Windows.DependencyObject.CoerceValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.Equals(System.Object)
System.Windows.DependencyObject.GetHashCode()
System.Windows.DependencyObject.GetLocalValueEnumerator()
System.Windows.DependencyObject.GetValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ReadLocalValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.SetCurrentValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object)
System.Windows.DependencyObject.ShouldSerializeProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.DependencyObjectType
System.Windows.DependencyObject.IsSealed
System.Windows.Threading.DispatcherObject.Dispatcher
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ComposableTreeView : TreeView, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Examples

This example and the following examples illustrate how to use the ComposableTreeView control to compose a System.Windows.Controls.TreeView that contains various setting sections (e.g. user settings, system settings, etc.).

As a first step, an interface must be defined that derives from IComposableTreeViewItem in order to have a unique compose identifier for that specific tree view.

public interface ISettingsTreeViewItem : IComposableTreeViewItem
{
}

Then, one or more classes must be created which implement the defined interface. Each interface implementation represents one System.Windows.Controls.TreeViewItem of the ComposableTreeView.

Each time the user clicks on a System.Windows.Controls.TreeViewItem, the OnActivate() method is called, which (in this example) then calls the RequestNavigate method of the IRegionManager and loads the proper View (and ViewModel) in the given region.

The implementations shall derive from ObservableObject so that the IComposableTreeViewItem notifies the user interface about property changes. The implementation shall also import the underlying ViewModel and subscribe to INotifyErrorsChanged. This way, the System.Windows.Controls.TreeViewItem can display an error indication.

[Export(typeof(ISettingsTreeViewItem))]
public class SystemSettingsTreeViewItem : ObservableObject, ISettingsTreeViewItem
{
    private readonly IRegionManager regionManager;
[ImportingConstructor]
public SystemSettingsTreeViewItem(IRegionManager regionManager, SystemSettingsViewModel systemSettingsViewModel)
{
    this.regionManager = regionManager;
    Id = Guid.NewGuid();
    Caption = "System Settings";
    HasAccess = true;
}

public String Caption { get; }

public Boolean HasAccess { get; }

public Guid Id { get; }

public Guid? ParentId { get; }

public Int32 StackRank { get; }

/// <summary>
/// Is called when the instance is activated.
/// </summary>
public void OnActivate()
{
    this.regionManager.RequestNavigate<SystemSettingsView>("ActiveSettingsRegion");
}

}

Finally, the ComposableTreeView control must be added to the user interface.

It is important that the ComposableTreeViewItemType matches the unique compose identifier. To get the exported values of the IComposableTreeViewItem implementations, the ComposableTreeView uses Container as default value of the CompositionContainer.

    <SAF:ComposableTreeView ComposableTreeViewItemType="{x:Type local:ISettingsTreeViewItem}"
                        SelectionMode="FirstChild" />

Constructors

View Source

ComposableTreeView()

Creates a new instance of the ComposableTreeView class.

Declaration
public ComposableTreeView()

Fields

View Source

AutoGenerationModeProperty

Defines the System.Windows.DependencyProperty of the AutoGenerationMode property.

Declaration
public static readonly DependencyProperty AutoGenerationModeProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

ComposableTreeViewItemTypeProperty

Defines the System.Windows.DependencyProperty of the ComposableTreeViewItemType property.

Declaration
public static readonly DependencyProperty ComposableTreeViewItemTypeProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

CompositionContainerProperty

Defines the System.Windows.DependencyProperty of the CompositionContainer property.

Declaration
public static readonly DependencyProperty CompositionContainerProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

SelectedItemIdProperty

Defines the System.Windows.DependencyProperty of the SelectedItemId property.

Declaration
public static readonly DependencyProperty SelectedItemIdProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

SelectionModeProperty

Defines the System.Windows.DependencyProperty of the SelectionMode property.

Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
Type Description
System.Windows.DependencyProperty

Properties

View Source

AutoGenerationMode

Gets or sets the TreeViewAutoGenerationMode.

Declaration
public TreeViewAutoGenerationMode AutoGenerationMode { get; set; }
Property Value
Type Description
TreeViewAutoGenerationMode
View Source

ComposableTreeViewItemType

Gets or sets the System.Type that is used to compose the tree view items.

Declaration
public Type ComposableTreeViewItemType { get; set; }
Property Value
Type Description
System.Type
View Source

CompositionContainer

Gets or sets the CompositionContainer that is used as the composition source.

Declaration
public CompositionContainer CompositionContainer { get; set; }
Property Value
Type Description
System.ComponentModel.Composition.Hosting.CompositionContainer
View Source

SelectedItemId

Gets or sets the id of the System.Windows.Controls.TreeView.SelectedItem.

Declaration
public Guid? SelectedItemId { get; set; }
Property Value
Type Description
System.Nullable<System.Guid>
Examples

The following example shows how to set the default selected item. In this example the default will be overwritten when the ComposableTreeViewSettingBehavior loads the previously saved selected item. So the default will only be used on the first start of the application.

View Source

SelectionMode

Gets or sets the TreeViewSelectionMode.

Declaration
public TreeViewSelectionMode SelectionMode { get; set; }
Property Value
Type Description
TreeViewSelectionMode

Methods

View Source

GetContainerForItemOverride()

Creates a ComposableTreeViewItemContainer to use to display content.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type Description
System.Windows.DependencyObject

A new ComposableTreeViewItemContainer to use as a container for content.

Overrides
System.Windows.Controls.TreeView.GetContainerForItemOverride()
View Source

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Declaration
public override void OnApplyTemplate()
Overrides
System.Windows.FrameworkElement.OnApplyTemplate()
View Source

OnGotFocus(RoutedEventArgs)

Raises the System.Windows.UIElement.GotFocus routed event.

Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type Name Description
System.Windows.RoutedEventArgs e

The data for the event.

Overrides
System.Windows.Controls.TreeView.OnGotFocus(System.Windows.RoutedEventArgs)
View Source

OnSelectedItemChanged(RoutedPropertyChangedEventArgs<Object>)

Raises the TreeView.SelectedItemChanged event when the TreeView.SelectedItem property value changes.

Declaration
protected override void OnSelectedItemChanged(RoutedPropertyChangedEventArgs<object> e)
Parameters
Type Name Description
System.Windows.RoutedPropertyChangedEventArgs<System.Object> e

Provides the item that was previously selected and the item that is currently selected for the System.Windows.Controls.TreeView.SelectedItemChanged event

Overrides
System.Windows.Controls.TreeView.OnSelectedItemChanged(System.Windows.RoutedPropertyChangedEventArgs<System.Object>)
View Source

SelectItem(Guid)

Selects the HierarchicalComposableTreeViewItem with the given id.

Declaration
public virtual void SelectItem(Guid id)
Parameters
Type Name Description
System.Guid id

The id of the HierarchicalComposableTreeViewItem.

View Source

SelectItem(Object)

Selects the given item within the tree view. If the item is collapsed, it is expanded.

Declaration
public virtual void SelectItem(object item)
Parameters
Type Name Description
System.Object item

The tree view item that should be selected.

Implements

System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
DependencyObjectExtensions.GetContainer(DependencyObject)
DependencyObjectExtensions.SetContainer(DependencyObject, CompositionContainer)
DependencyObjectExtensions.FindAncestor<T>(DependencyObject)
DependencyObjectExtensions.FindFirstChildByType<T>(DependencyObject)
DependencyObjectExtensions.FindLogicalAncestor<T>(DependencyObject)
DependencyObjectExtensions.GetChildsByType<T>(DependencyObject, List<T>)
DependencyObjectExtensions.GetChildrenByType<T>(DependencyObject)
DependencyObjectExtensions.XamlClone<T>(T)
FrameworkElementExtensions.FindChildByName<T>(FrameworkElement, String)
  • View Source
Back to top Generated by DocFX