Table of Contents

Class RichCanvasContainer

Namespace: RichCanvas
Assembly: RichCanvas.dll

RichCanvas.RichCanvas items container.

[TemplatePart(Name = "PART_ContentPresenter", Type = typeof(ContentPresenter))]
public class RichCanvasContainer : ContentControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild

Inheritance

objectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlContentControlRichCanvasContainer

Implements

IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild

Inherited Members

ContentControl.ContentProperty, ContentControl.ContentStringFormatProperty, ContentControl.ContentTemplateProperty, ContentControl.ContentTemplateSelectorProperty, ContentControl.HasContentProperty, ContentControl.AddChild(object), ContentControl.AddText(string), ContentControl.OnContentChanged(object, object), ContentControl.OnContentStringFormatChanged(string, string), ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate), ContentControl.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector), ContentControl.Content, ContentControl.ContentStringFormat, ContentControl.ContentTemplate, ContentControl.ContentTemplateSelector, ContentControl.HasContent, ContentControl.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

RichCanvasContainer()

Initializes a new instance of RichCanvas.RichCanvasContainer class.

public RichCanvasContainer()

Fields

AllowScaleChangeToUpdatePositionProperty

Identifies the RichCanvas.RichCanvasContainer.AllowScaleChangeToUpdatePosition dependency property.

public static DependencyProperty AllowScaleChangeToUpdatePositionProperty

Field Value

DependencyProperty

ApplyTransformProperty

Apply transforms on RichCanvas.RichCanvasContainer

public static DependencyProperty ApplyTransformProperty

Field Value

DependencyProperty

DefaultHeight

Default fallback value for container height used on drawing if the set value is 0.

public const double DefaultHeight = 1

Field Value

double

DefaultWidth

Default fallback value for container width used on drawing if the set value is 0.

public const double DefaultWidth = 1

Field Value

double

DragCompletedEvent

Identifies the RichCanvas.RichCanvasContainer.DragCompleted routed event.

public static readonly RoutedEvent DragCompletedEvent

Field Value

RoutedEvent

DragDeltaEvent

Identifies the RichCanvas.RichCanvasContainer.DragDelta routed event.

public static readonly RoutedEvent DragDeltaEvent

Field Value

RoutedEvent

DragStartedEvent

Identifies the RichCanvas.RichCanvasContainer.DragStarted routed event.

public static readonly RoutedEvent DragStartedEvent

Field Value

RoutedEvent

HasCustomBehaviorProperty

Identifies the RichCanvas.RichCanvasContainer.HasCustomBehavior dependency property.

public static DependencyProperty HasCustomBehaviorProperty

Field Value

DependencyProperty

IsDraggableProperty

Identifies the RichCanvas.RichCanvasContainer.IsDraggable dependency property.

public static DependencyProperty IsDraggableProperty

Field Value

DependencyProperty

IsSelectableProperty

Identifies the RichCanvas.RichCanvasContainer.IsSelectable dependency property.

public static DependencyProperty IsSelectableProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the RichCanvas.RichCanvasContainer.IsSelected dependency property.

public static DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

LeftChangedEvent

Identifies the RichCanvas.RichCanvasContainer.LeftChanged routed event.

public static readonly RoutedEvent LeftChangedEvent

Field Value

RoutedEvent

LeftProperty

Identifies the RichCanvas.RichCanvasContainer.Left dependency property.

public static DependencyProperty LeftProperty

Field Value

DependencyProperty

ScaleProperty

Identifies the RichCanvas.RichCanvasContainer.Scale dependency property.

public static DependencyProperty ScaleProperty

Field Value

DependencyProperty

SelectedEvent

Identifies the RichCanvas.RichCanvasContainer.Selected routed event.

public static readonly RoutedEvent SelectedEvent

Field Value

RoutedEvent

ShouldBringIntoViewProperty

Identifies the RichCanvas.RichCanvasContainer.ShouldBringIntoView dependency property.

public static DependencyProperty ShouldBringIntoViewProperty

Field Value

DependencyProperty

TopChangedEvent

Identifies the RichCanvas.RichCanvasContainer.TopChanged routed event.

public static readonly RoutedEvent TopChangedEvent

Field Value

RoutedEvent

TopProperty

Identifies the RichCanvas.RichCanvasContainer.Top dependency property.

public static DependencyProperty TopProperty

Field Value

DependencyProperty

UnselectedEvent

Identifies the RichCanvas.RichCanvasContainer.Unselected routed event.

public static readonly RoutedEvent UnselectedEvent

Field Value

RoutedEvent

Properties

AllowScaleChangeToUpdatePosition

Gets or sets whether this RichCanvas.RichCanvasContainer Left and Top can be updated while Drawing if the RichCanvas.RichCanvasContainer.Scale is changed.

public bool AllowScaleChangeToUpdatePosition { get; set; }

Property Value

bool

BoundingBox

Gets this RichCanvas.RichCanvasContainer TransformBounds.

public Rect BoundingBox { get; }

Property Value

Rect

CurrentState

Current state of RichCanvas.RichCanvasContainer.

public ContainerState CurrentState { get; }

Property Value

ContainerState

HasCustomBehavior

Gets or sets whether this RichCanvas.RichCanvasContainer has custom behavior handled out of dragging This tells RichCanvas.RichCanvas to stop handling mouse interaction when manipulating this RichCanvas.RichCanvasContainer True by default

public bool HasCustomBehavior { get; set; }

Property Value

bool

Host

The RichCanvas.RichCanvas that owns this RichCanvas.RichCanvasContainer.

public RichCanvas Host { get; }

Property Value

RichCanvas

IsDraggable

Gets or sets whether this RichCanvas.RichCanvasContainer can be dragged on RichCanvas.RichCanvas.ItemsHost True by default

public bool IsDraggable { get; set; }

Property Value

bool

IsSelectable

Gets or sets whether this RichCanvas.RichCanvasContainer can be selected. True by default

public bool IsSelectable { get; set; }

Property Value

bool

IsSelected

Gets or sets a value that indicates whether this item is selected. Can only be set if RichCanvas.RichCanvasContainer.IsSelectable is true.

public bool IsSelected { get; set; }

Property Value

bool

Left

Gets or sets the Left position of this RichCanvas.RichCanvasContainer on RichCanvas.RichCanvas.ItemsHost

public double Left { get; set; }

Property Value

double

Scale

Gets or sets this RichCanvas.RichCanvasContainer ScaleTransform in order to get direction.

public Point Scale { get; set; }

Property Value

Point

ShouldBringIntoView

Gets or sets whether this RichCanvas.RichCanvasContainer should be centered inside RichCanvas.RichCanvas viewport.

public bool ShouldBringIntoView { get; set; }

Property Value

bool

Top

Gets or sets the Top position of this RichCanvas.RichCanvasContainer on RichCanvas.RichCanvas.ItemsHost

public double Top { get; set; }

Property Value

double

Methods

CalculateBoundingBox()

Calculates RichCanvas.RichCanvasContainer bounding box based on applied transforms.

public void CalculateBoundingBox()

GetApplyTransform(UIElement)

Gets the RichCanvas.RichCanvasContainer.ApplyTransform attached property value that indicates the current RichCanvas.RichCanvasContainer.RenderTransform.

public static Transform GetApplyTransform(UIElement element)

Parameters

element UIElement

Returns

Transform

GetDefaultState()

Used to returns the implementation of a RichCanvas.States.ContainerStates.ContainerState used to orchestrate interactions between all defined states.
Note: This state is always present on the states stack.

protected virtual ContainerState GetDefaultState()

Returns

ContainerState

A new RichCanvas.States.ContainerStates.ContainerState

OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown 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 OnMouseDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseMove 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 OnMouseMove(MouseEventArgs e)

Parameters

e MouseEventArgs

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

OnMouseUp(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseUp 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 OnMouseUp(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

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

OnPreviewLocationChanged(Point)

Raises the RichCanvas.RichCanvasContainer.PreviewLocationChanged event.

protected void OnPreviewLocationChanged(Point location)

Parameters

location Point

The new location.

PopState()

Pops the current state from the stack without removing the default one defined by RichCanvas.RichCanvasContainer.GetDefaultState method.

public void PopState()

PushState(ContainerState)

Pushes a new state into the stack.

public void PushState(ContainerState state)

Parameters

state ContainerState

The new state.

SetApplyTransform(UIElement, Transform)

Sets a property value that tells what System.Windows.Media.Transform should be applied on RichCanvas.RichCanvasContainer.RenderTransform property.

public static void SetApplyTransform(UIElement element, Transform value)

Parameters

element UIElement

value Transform

DragCompleted

Occurs when this RichCanvas.RichCanvasContainer completed the drag operation.

public event DragCompletedEventHandler DragCompleted

Event Type

DragCompletedEventHandler

DragDelta

Occurs when this RichCanvas.RichCanvasContainer is being dragged.

public event DragDeltaEventHandler DragDelta

Event Type

DragDeltaEventHandler

DragStarted

Occurs when this RichCanvas.RichCanvasContainer is the instigator of a drag operation.

public event DragStartedEventHandler DragStarted

Event Type

DragStartedEventHandler

LeftChanged

Occurs whenever RichCanvas.RichCanvasContainer.Left changes.

public event RoutedEventHandler LeftChanged

Event Type

RoutedEventHandler

PreviewLocationChanged

Occurs when the RichCanvas.RichCanvasContainer is being dragged.

public event PreviewLocationChanged? PreviewLocationChanged

Event Type

PreviewLocationChanged?

Selected

Occurs whenever this RichCanvas.RichCanvasContainer is selected.

public event RoutedEventHandler Selected

Event Type

RoutedEventHandler

TopChanged

Occurs whenever RichCanvas.RichCanvasContainer.Top changes.

public event RoutedEventHandler TopChanged

Event Type

RoutedEventHandler

Unselected

Occurs when this RichCanvas.RichCanvasContainer is unselected.

public event RoutedEventHandler Unselected

Event Type

RoutedEventHandler