Class PanningGrid
Namespace: RichCanvas
Assembly: RichCanvas.dll
Grid defining scrolling functionalty
public class PanningGrid : Grid, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IScrollInfo
Inheritance
object ← DispatcherObject ← DependencyObject ← Visual ← UIElement ← FrameworkElement ← Panel ← Grid ← PanningGrid
Implements
IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IScrollInfo
Inherited Members
Grid.ColumnProperty, Grid.ColumnSpanProperty, Grid.IsSharedSizeScopeProperty, Grid.RowProperty, Grid.RowSpanProperty, Grid.ShowGridLinesProperty, Grid.ArrangeOverride(Size), Grid.GetColumn(UIElement), Grid.GetColumnSpan(UIElement), Grid.GetIsSharedSizeScope(UIElement), Grid.GetRow(UIElement), Grid.GetRowSpan(UIElement), Grid.GetVisualChild(int), Grid.MeasureOverride(Size), Grid.OnVisualChildrenChanged(DependencyObject, DependencyObject), Grid.SetColumn(UIElement, int), Grid.SetColumnSpan(UIElement, int), Grid.SetIsSharedSizeScope(UIElement, bool), Grid.SetRow(UIElement, int), Grid.SetRowSpan(UIElement, int), Grid.ColumnDefinitions, Grid.LogicalChildren, Grid.RowDefinitions, Grid.ShowGridLines, Grid.VisualChildrenCount, Panel.BackgroundProperty, Panel.IsItemsHostProperty, Panel.ZIndexProperty, Panel.CreateUIElementCollection(FrameworkElement), Panel.GetVisualChild(int), Panel.GetZIndex(UIElement), Panel.OnIsItemsHostChanged(bool, bool), Panel.OnRender(DrawingContext), Panel.OnVisualChildrenChanged(DependencyObject, DependencyObject), Panel.SetZIndex(UIElement, int), Panel.Background, Panel.Children, Panel.HasLogicalOrientation, Panel.HasLogicalOrientationPublic, Panel.InternalChildren, Panel.IsItemsHost, Panel.LogicalChildren, Panel.LogicalOrientation, Panel.LogicalOrientationPublic, Panel.VisualChildrenCount, 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()
Properties
BottomLimit
Bottom limit of RichCanvas.PanningGrid.ScrollOwner viewport
public double BottomLimit { get; }
Property Value
BottomOffset
Negative Vertical offset of RichCanvas.PanningGrid.ScrollOwner
protected double BottomOffset { get; }
Property Value
CanHorizontallyScroll
Gets or sets a value that indicates whether scrolling on the horizontal axis is possible.
public bool CanHorizontallyScroll { get; set; }
Property Value
CanVerticallyScroll
Gets or sets a value that indicates whether scrolling on the vertical axis is possible.
public bool CanVerticallyScroll { get; set; }
Property Value
ExtentHeight
Gets the vertical size of the extent.
public double ExtentHeight { get; }
Property Value
ExtentWidth
Gets the horizontal size of the extent.
public double ExtentWidth { get; }
Property Value
HorizontalOffset
Gets the horizontal offset of the scrolled content.
public double HorizontalOffset { get; }
Property Value
LeftLimit
Left limit of RichCanvas.PanningGrid.ScrollOwner viewport
public double LeftLimit { get; }
Property Value
LeftOffset
Positive Horizontal offset of RichCanvas.PanningGrid.ScrollOwner
protected double LeftOffset { get; }
Property Value
RightLimit
Right limit of RichCanvas.PanningGrid.ScrollOwner viewport
public double RightLimit { get; }
Property Value
RightOffset
Negative Horizontal offset of RichCanvas.PanningGrid.ScrollOwner
protected double RightOffset { get; }
Property Value
ScrollOwner
Gets or sets a System.Windows.Controls.ScrollViewer element that controls scrolling behavior.
public ScrollViewer? ScrollOwner { get; set; }
Property Value
TopLimit
Top limit of RichCanvas.PanningGrid.ScrollOwner viewport
public double TopLimit { get; }
Property Value
TopOffset
Positive Vertical offset of RichCanvas.PanningGrid.ScrollOwner
protected double TopOffset { get; }
Property Value
VerticalOffset
Gets the vertical offset of the scrolled content.
public double VerticalOffset { get; }
Property Value
ViewportHeight
Gets the vertical size of the viewport for this content.
public double ViewportHeight { get; }
Property Value
ViewportWidth
Gets the horizontal size of the viewport for this content.
public double ViewportWidth { get; }
Property Value
Methods
ArrangeOverride(Size)
Arranges the content of a System.Windows.Controls.Grid element.
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
arrangeSize
Size
Specifies the size this System.Windows.Controls.Grid element should use to arrange its child elements.
Returns
System.Windows.Size that represents the arranged size of this Grid element and its children.
LineDown()
Scrolls down within content by one logical unit.
public void LineDown()
LineLeft()
Scrolls left within content by one logical unit.
public void LineLeft()
LineRight()
Scrolls right within content by one logical unit.
public void LineRight()
LineUp()
Scrolls up within content by one logical unit.
public void LineUp()
MakeVisible(Visual, Rect)
Forces content to scroll until the coordinate space of a System.Windows.Media.Visual object is visible.
public Rect MakeVisible(Visual visual, Rect rectangle)
Parameters
visual
Visual
A System.Windows.Media.Visual that becomes visible.
rectangle
Rect
A bounding rectangle that identifies the coordinate space to make visible.
Returns
A System.Windows.Rect that is visible.
MouseWheelDown()
Scrolls down within content after a user clicks the wheel button on a mouse.
public void MouseWheelDown()
MouseWheelLeft()
Scrolls left within content after a user clicks the wheel button on a mouse.
public void MouseWheelLeft()
MouseWheelRight()
Scrolls right within content after a user clicks the wheel button on a mouse.
public void MouseWheelRight()
MouseWheelUp()
Scrolls up within content after a user clicks the wheel button on a mouse.
public void MouseWheelUp()
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
The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the 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
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
The System.Windows.Input.MouseEventArgs that contains the event data.
OnPreviewMouseWheel(MouseWheelEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.PreviewMouseWheel 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 OnPreviewMouseWheel(MouseWheelEventArgs e)
Parameters
The System.Windows.Input.MouseWheelEventArgs that contains the event data.
PageDown()
Scrolls down within content by one page.
public void PageDown()
PageLeft()
Scrolls left within content by one page.
public void PageLeft()
PageRight()
Scrolls right within content by one page.
public void PageRight()
PageUp()
Scrolls up within content by one page.
public void PageUp()
Pan(Point, Point)
Panning of the canvas using the difference between the specified points.
public void Pan(Point initialPosition, Point currentMousePosition)
Parameters
initialPosition
Point
Calculated initial mouse position. For example, on click.
currentMousePosition
Point
Current calculated mouse position.
PanHorizontally(double)
Scrolls and translates horizontally the RichCanvas.PanningGrid.ScrollOwner viewport
public void PanHorizontally(double offset)
Parameters
offset
double
Scroll factor which determines the speed
PanVertically(double)
Scrolls and translates vertically the RichCanvas.PanningGrid.ScrollOwner viewport
public void PanVertically(double offset)
Parameters
offset
double
Scroll factor which determines the speed
SetHorizontalOffset(double)
Sets the amount of horizontal offset.
public void SetHorizontalOffset(double offset)
Parameters
offset
double
The degree to which content is horizontally offset from the containing viewport.
SetVerticalOffset(double)
Sets the amount of vertical offset.
public void SetVerticalOffset(double offset)
Parameters
offset
double
The degree to which content is vertically offset from the containing viewport.
Zoom(Point, int)
Zooms at the specified position
public void Zoom(Point position, int delta)
Parameters
position
Point
Mouse position to zoom at
delta
int
Determines whether to zoom in or out by the sign