Table of Contents

Class RichItemsControl

Namespace: RichCanvas
Assembly: RichCanvas.dll

ItemsControl hosting RichCanvas.RichCanvas

[TemplatePart(Name = "PART_Panel", Type = typeof(Panel))]
[TemplatePart(Name = "PART_SelectionRectangle", Type = typeof(Rectangle))]
[StyleTypedProperty(Property = "SelectionRectangleStyle", StyleTargetType = typeof(Rectangle))]
public class RichItemsControl : MultiSelector, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild

Inheritance

objectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlItemsControlSelectorMultiSelectorRichItemsControl

Implements

IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild

Inherited Members

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

Constructors

RichItemsControl()

Creates a new instance of RichCanvas.RichItemsControl

public RichItemsControl()

Fields

AppliedTransformProperty

Gets the transform that is applied to all child controls.

public static DependencyProperty AppliedTransformProperty

Field Value

DependencyProperty

AppliedTransformPropertyKey

Get only key of RichCanvas.RichItemsControl.AppliedTransformProperty.

protected static readonly DependencyPropertyKey AppliedTransformPropertyKey

Field Value

DependencyPropertyKey

AutoPanSpeedProperty

Gets or sets the RichCanvas.RichItemsControl.ItemsHost translate speed. Default is 1.

public static DependencyProperty AutoPanSpeedProperty

Field Value

DependencyProperty

AutoPanTickRateProperty

Gets or sets System.Windows.Threading.DispatcherTimer interval value. Default is 1.

public static DependencyProperty AutoPanTickRateProperty

Field Value

DependencyProperty

CanSelectMultipleItemsProperty

Gets or sets whether you can select multiple elements or not. Default is true.

public static DependencyProperty CanSelectMultipleItemsProperty

Field Value

DependencyProperty

DisableAutoPanningProperty

Gets or sets whether Auto-Panning is disabled. Default is enabled.

public static DependencyProperty DisableAutoPanningProperty

Field Value

DependencyProperty

DisableCacheProperty

Gets or sets whether caching is disabled. Default is true.

public static DependencyProperty DisableCacheProperty

Field Value

DependencyProperty

DisableScrollProperty

Gets or sets whether scrolling operation is disabled. Default is enabled.f

public static DependencyProperty DisableScrollProperty

Field Value

DependencyProperty

DisableZoomProperty

Gets or sets whether zooming operation is disabled. Default is enabled.

public static DependencyProperty DisableZoomProperty

Field Value

DependencyProperty

DrawingEndedEvent

Occurs whenever RichCanvas.RichItemsControl.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs) is triggered and the drawing operation finished.

public static readonly RoutedEvent DrawingEndedEvent

Field Value

RoutedEvent

EnableGridProperty

Gets or sets whether Grid Drawing is enabled on RichCanvas.RichItemsControl.ItemsHost background. Default is disabled.

public static DependencyProperty EnableGridProperty

Field Value

DependencyProperty

EnableNegativeScrollingProperty

Gets or sets whether RichCanvas.RichCanvas has negative scrolling and panning. Default is true.

public static DependencyProperty EnableNegativeScrollingProperty

Field Value

DependencyProperty

EnableSnappingProperty

Gets or sets whether grid snap correction on RichCanvas.RichItemContainer is applied. Default is disabled.

public static DependencyProperty EnableSnappingProperty

Field Value

DependencyProperty

ExtentSizeProperty

Gets or sets scroll Extent maximum size. Controls maximum offset of scroll. Default is System.Windows.Size.Empty.

public static DependencyProperty ExtentSizeProperty

Field Value

DependencyProperty

GridSpacingProperty

Gets or sets grid drawing viewport size. Default is 10.

public static DependencyProperty GridSpacingProperty

Field Value

DependencyProperty

GridStyleProperty

Gets or sets the background grid style.

public static DependencyProperty GridStyleProperty

Field Value

DependencyProperty

HorizontalScrollBarVisibilityProperty

Gets or sets whether RichCanvas.PanningGrid.ScrollOwner horizontal scrollbar visibility. Default is System.Windows.Controls.ScrollBarVisibility.Visible.

public static DependencyProperty HorizontalScrollBarVisibilityProperty

Field Value

DependencyProperty

IsDraggingProperty

Gets whether the operation in progress is dragging.

public static readonly DependencyProperty IsDraggingProperty

Field Value

DependencyProperty

IsDraggingPropertyKey

Get only key of RichCanvas.RichItemsControl.IsDraggingProperty

protected static readonly DependencyPropertyKey IsDraggingPropertyKey

Field Value

DependencyPropertyKey

IsSelectingProperty

Gets whether the operation in progress is selection.

public static readonly DependencyProperty IsSelectingProperty

Field Value

DependencyProperty

IsSelectingPropertyKey

Get only key of RichCanvas.RichItemsControl.IsSelectingProperty

protected static readonly DependencyPropertyKey IsSelectingPropertyKey

Field Value

DependencyPropertyKey

MaxScaleProperty

Gets or sets maximum scale for RichCanvas.RichItemsControl.ScaleTransform. Default is 2.

public static DependencyProperty MaxScaleProperty

Field Value

DependencyProperty

MinScaleProperty

Gets or sets minimum scale for RichCanvas.RichItemsControl.ScaleTransform. Default is 0.1d.

public static DependencyProperty MinScaleProperty

Field Value

DependencyProperty

MousePositionProperty

Gets or sets mouse position relative to RichCanvas.RichItemsControl.ItemsHost.

public static DependencyProperty MousePositionProperty

Field Value

DependencyProperty

PanningKeyProperty

Gets or sets current key used for panning. Default is System.Windows.Input.Key.Space.

public static DependencyProperty PanningKeyProperty

Field Value

DependencyProperty

RealTimeDraggingEnabledProperty

Gets or sets whether real-time selection is enabled. Default is false.

public static DependencyProperty RealTimeDraggingEnabledProperty

Field Value

DependencyProperty

RealTimeSelectionEnabledProperty

Gets or sets whether real-time selection is enabled. Default is false.

public static DependencyProperty RealTimeSelectionEnabledProperty

Field Value

DependencyProperty

ScaleFactorProperty

Gets or sets the factor used to change RichCanvas.RichItemsControl.ScaleTransform on zoom. Default is 1.1d.

public static DependencyProperty ScaleFactorProperty

Field Value

DependencyProperty

ScaleProperty

Gets or sets the current RichCanvas.RichItemsControl.ScaleTransform value. Default is 1.

public static DependencyProperty ScaleProperty

Field Value

DependencyProperty

ScrollFactorProperty

Gets or sets the scrolling factor applied when scrolling. Default is 10.

public static DependencyProperty ScrollFactorProperty

Field Value

DependencyProperty

ScrollingEvent

Occurs whenever RichCanvas.RichItemsControl.TranslateTransform changes.

public static readonly RoutedEvent ScrollingEvent

Field Value

RoutedEvent

SelectedItemsProperty

Gets or sets the items in the RichCanvas.RichItemsControl that are selected.

public static DependencyProperty SelectedItemsProperty

Field Value

DependencyProperty

SelectionEnabledProperty

Gets or sets whether RichCanvas.RichCanvas has selection enabled. Default is true.

public static DependencyProperty SelectionEnabledProperty

Field Value

DependencyProperty

SelectionRectangleProperty

Gets the selection area as System.Windows.Rect.

public static readonly DependencyProperty SelectionRectangleProperty

Field Value

DependencyProperty

SelectionRectanglePropertyKey

Get only key of RichCanvas.RichItemsControl.SelectionRectangleProperty.

protected static readonly DependencyPropertyKey SelectionRectanglePropertyKey

Field Value

DependencyPropertyKey

SelectionRectangleStyleProperty

Gets or sets selection System.Windows.Shapes.Rectangle style.

public static DependencyProperty SelectionRectangleStyleProperty

Field Value

DependencyProperty

TranslateOffsetProperty

Gets or sets current RichCanvas.RichItemsControl.TranslateTransform.

public static DependencyProperty TranslateOffsetProperty

Field Value

DependencyProperty

VerticalScrollBarVisibilityProperty

Gets or sets whether RichCanvas.PanningGrid.ScrollOwner vertical scrollbar visibility. Default is System.Windows.Controls.ScrollBarVisibility.Visible.

public static DependencyProperty VerticalScrollBarVisibilityProperty

Field Value

DependencyProperty

ViewportRectProperty

Gets current viewport rectangle.

public static readonly DependencyProperty ViewportRectProperty

Field Value

DependencyProperty

ZoomKeyProperty

Gets or sets current key used to zoom. Default is System.Windows.Input.Key.LeftCtrl.

public static DependencyProperty ZoomKeyProperty

Field Value

DependencyProperty

ZoomingEvent

Occurs whenever RichCanvas.RichItemsControl.ScaleTransform changes.

public static readonly RoutedEvent ZoomingEvent

Field Value

RoutedEvent

Properties

AppliedTransform

Gets the transform that is applied to all child controls.

public TransformGroup AppliedTransform { get; }

Property Value

TransformGroup

AutoPanSpeed

Gets or sets the RichCanvas.RichItemsControl.ItemsHost translate speed. Default is 1.

public float AutoPanSpeed { get; set; }

Property Value

float

AutoPanTickRate

Gets or sets System.Windows.Threading.DispatcherTimer interval value. Default is 1.

public float AutoPanTickRate { get; set; }

Property Value

float

CanSelectMultipleItems

Gets or sets whether you can select multiple elements or not. Default is true.

public bool CanSelectMultipleItems { get; set; }

Property Value

bool

DisableAutoPanning

Gets or sets whether Auto-Panning is disabled. Default is enabled.

public bool DisableAutoPanning { get; set; }

Property Value

bool

DisableCache

Gets or sets whether caching is disabled. Default is true.

public bool DisableCache { get; set; }

Property Value

bool

DisableScroll

Gets or sets whether scrolling operation is disabled. Default is enabled.f

public bool DisableScroll { get; set; }

Property Value

bool

DisableZoom

Gets or sets whether zooming operation is disabled. Default is enabled.

public bool DisableZoom { get; set; }

Property Value

bool

EnableGrid

Gets or sets whether Grid Drawing is enabled on RichCanvas.RichItemsControl.ItemsHost background. Default is disabled.

public bool EnableGrid { get; set; }

Property Value

bool

EnableNegativeScrolling

Gets or sets whether RichCanvas.RichCanvas has negative scrolling and panning. Default is true.

public bool EnableNegativeScrolling { get; set; }

Property Value

bool

EnableSnapping

Gets or sets whether grid snap correction on RichCanvas.RichItemContainer is applied. Default is disabled.

public bool EnableSnapping { get; set; }

Property Value

bool

ExtentSize

Gets or sets scroll Extent maximum size. Controls maximum offset of scroll. Default is System.Windows.Size.Empty.

public Size ExtentSize { get; set; }

Property Value

Size

GridSpacing

Gets or sets grid drawing viewport size. Default is 10.

public float GridSpacing { get; set; }

Property Value

float

GridStyle

Gets or sets the background grid style.

public Drawing GridStyle { get; set; }

Property Value

Drawing

HasSelections

Gets whether at least one item is selected.

public bool HasSelections { get; }

Property Value

bool

HorizontalScrollBarVisibility

Gets or sets whether RichCanvas.PanningGrid.ScrollOwner horizontal scrollbar visibility. Default is System.Windows.Controls.ScrollBarVisibility.Visible.

public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility

IsDragging

Gets whether the operation in progress is dragging.

public bool IsDragging { get; }

Property Value

bool

IsSelecting

Gets whether the operation in progress is selection.

public bool IsSelecting { get; }

Property Value

bool

MaxScale

Gets or sets maximum scale for RichCanvas.RichItemsControl.ScaleTransform. Default is 2.

public double MaxScale { get; set; }

Property Value

double

MinScale

Gets or sets minimum scale for RichCanvas.RichItemsControl.ScaleTransform. Default is 0.1d.

public double MinScale { get; set; }

Property Value

double

MousePosition

Gets or sets mouse position relative to RichCanvas.RichItemsControl.ItemsHost.

public Point MousePosition { get; set; }

Property Value

Point

PanningKey

Gets or sets current key used for panning. Default is System.Windows.Input.Key.Space.

public Key PanningKey { get; set; }

Property Value

Key

RealTimeDraggingEnabled

Gets or sets whether real-time selection is enabled. Default is false.

public bool RealTimeDraggingEnabled { get; set; }

Property Value

bool

RealTimeSelectionEnabled

Gets or sets whether real-time selection is enabled. Default is false.

public bool RealTimeSelectionEnabled { get; set; }

Property Value

bool

Scale

Gets or sets the current RichCanvas.RichItemsControl.ScaleTransform value. Default is 1.

public double Scale { get; set; }

Property Value

double

ScaleFactor

Gets or sets the factor used to change RichCanvas.RichItemsControl.ScaleTransform on zoom. Default is 1.1d.

public double ScaleFactor { get; set; }

Property Value

double

ScrollContainer

System.Windows.Controls.Grid control wrapping the scrolling logic.

public PanningGrid? ScrollContainer { get; }

Property Value

PanningGrid?

ScrollFactor

Gets or sets the scrolling factor applied when scrolling. Default is 10.

public double ScrollFactor { get; set; }

Property Value

double

SelectedItems

Gets or sets the items in the RichCanvas.RichItemsControl that are selected.

public IList SelectedItems { get; set; }

Property Value

IList

SelectionEnabled

Gets or sets whether RichCanvas.RichCanvas has selection enabled. Default is true.

public bool SelectionEnabled { get; set; }

Property Value

bool

SelectionRectangle

Gets the selection area as System.Windows.Rect.

public Rect SelectionRectangle { get; }

Property Value

Rect

SelectionRectangleStyle

Gets or sets selection System.Windows.Shapes.Rectangle style.

public Style SelectionRectangleStyle { get; set; }

Property Value

Style

TranslateOffset

Gets or sets current RichCanvas.RichItemsControl.TranslateTransform.

public Point TranslateOffset { get; set; }

Property Value

Point

VerticalScrollBarVisibility

Gets or sets whether RichCanvas.PanningGrid.ScrollOwner vertical scrollbar visibility. Default is System.Windows.Controls.ScrollBarVisibility.Visible.

public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility

ViewportRect

Gets current viewport rectangle.

public Rect ViewportRect { get; }

Property Value

Rect

ZoomKey

Gets or sets current key used to zoom. Default is System.Windows.Input.Key.LeftCtrl.

public Key ZoomKey { get; set; }

Property Value

Key

Methods

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

The element that is used to display the given item.

GetElementsInArea(Rect)

Returns the elements that intersect with area

public List<object> GetElementsInArea(Rect area)

Parameters

area Rect

Returns

List<object>

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item object

The item to check.

Returns

bool

true if the item is (or is eligible to be) its own container; otherwise, false.

OnApplyTemplate()

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

public override void OnApplyTemplate()

OnItemsChanged(NotifyCollectionChangedEventArgs)

Updates the current selection when an item in the System.Windows.Controls.Primitives.Selector has changed

protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e NotifyCollectionChangedEventArgs

The event data.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.

OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

OnPreviewMouseMove(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnPreviewMouseMove(MouseEventArgs e)

Parameters

e MouseEventArgs

The System.Windows.Input.MouseEventArgs that contains the event data.

OnSelectionChanged(SelectionChangedEventArgs)

Called when the selection changes.

protected override void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e SelectionChangedEventArgs

The event data.

SelectBySelectionRectangle()

Selects all elements inside RichCanvas.RichItemsControl.SelectionRectangle

public void SelectBySelectionRectangle()

DrawingEnded

Occurs whenever RichCanvas.RichItemsControl.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs) is triggered and the drawing operation finished.

public event RoutedEventHandler DrawingEnded

Event Type

RoutedEventHandler

Scrolling

Occurs whenever RichCanvas.RichItemsControl.TranslateTransform changes.

public event RoutedEventHandler Scrolling

Event Type

RoutedEventHandler

Zooming

Occurs whenever RichCanvas.RichItemsControl.ScaleTransform changes.

public event RoutedEventHandler Zooming

Event Type

RoutedEventHandler