SHARE
TWEET

Untitled

a guest Apr 24th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #region Assembly PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
  2. // C:\Users\Bob Desktop\.nuget\packages\microsoft.windowsdesktop.app\3.0.0-preview3-27504-2\ref\netcoreapp3.0\PresentationCore.dll
  3. #endregion
  4.  
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.Windows.Automation.Peers;
  8. using System.Windows.Input;
  9. using System.Windows.Input.StylusPlugIns;
  10. using System.Windows.Markup;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Animation;
  13. using System.Windows.Media.Effects;
  14.  
  15. namespace System.Windows
  16. {
  17.     [UidProperty("Uid")]
  18.     public class UIElement : Visual, IInputElement, IAnimatable
  19.     {
  20.         public static readonly DependencyProperty AllowDropProperty;
  21.         public static readonly RoutedEvent PreviewStylusOutOfRangeEvent;
  22.         public static readonly RoutedEvent PreviewStylusMoveEvent;
  23.         public static readonly RoutedEvent PreviewStylusInRangeEvent;
  24.         public static readonly RoutedEvent PreviewStylusInAirMoveEvent;
  25.         public static readonly RoutedEvent PreviewStylusDownEvent;
  26.         public static readonly RoutedEvent PreviewStylusButtonDownEvent;
  27.         public static readonly RoutedEvent PreviewQueryContinueDragEvent;
  28.         public static readonly RoutedEvent PreviewMouseWheelEvent;
  29.         public static readonly RoutedEvent PreviewMouseUpEvent;
  30.         public static readonly RoutedEvent PreviewMouseRightButtonUpEvent;
  31.         public static readonly RoutedEvent PreviewMouseRightButtonDownEvent;
  32.         public static readonly RoutedEvent PreviewMouseMoveEvent;
  33.         public static readonly RoutedEvent PreviewMouseLeftButtonUpEvent;
  34.         public static readonly RoutedEvent PreviewMouseLeftButtonDownEvent;
  35.         public static readonly RoutedEvent PreviewMouseDownEvent;
  36.         public static readonly RoutedEvent PreviewLostKeyboardFocusEvent;
  37.         public static readonly RoutedEvent PreviewKeyUpEvent;
  38.         public static readonly RoutedEvent PreviewKeyDownEvent;
  39.         public static readonly RoutedEvent PreviewGotKeyboardFocusEvent;
  40.         public static readonly RoutedEvent PreviewGiveFeedbackEvent;
  41.         public static readonly RoutedEvent PreviewDropEvent;
  42.         public static readonly RoutedEvent PreviewDragOverEvent;
  43.         public static readonly RoutedEvent PreviewDragLeaveEvent;
  44.         public static readonly RoutedEvent PreviewDragEnterEvent;
  45.         public static readonly DependencyProperty OpacityProperty;
  46.         public static readonly RoutedEvent PreviewStylusSystemGestureEvent;
  47.         public static readonly RoutedEvent PreviewStylusUpEvent;
  48.         public static readonly RoutedEvent PreviewTextInputEvent;
  49.         public static readonly RoutedEvent PreviewTouchDownEvent;
  50.         public static readonly DependencyProperty VisibilityProperty;
  51.         public static readonly DependencyProperty UidProperty;
  52.         public static readonly RoutedEvent TouchUpEvent;
  53.         public static readonly RoutedEvent TouchMoveEvent;
  54.         public static readonly RoutedEvent TouchLeaveEvent;
  55.         public static readonly RoutedEvent TouchEnterEvent;
  56.         public static readonly RoutedEvent TouchDownEvent;
  57.         public static readonly RoutedEvent TextInputEvent;
  58.         public static readonly RoutedEvent StylusUpEvent;
  59.         public static readonly RoutedEvent StylusSystemGestureEvent;
  60.         public static readonly RoutedEvent StylusOutOfRangeEvent;
  61.         public static readonly RoutedEvent StylusMoveEvent;
  62.         public static readonly DependencyProperty OpacityMaskProperty;
  63.         public static readonly RoutedEvent StylusLeaveEvent;
  64.         public static readonly RoutedEvent StylusInAirMoveEvent;
  65.         public static readonly RoutedEvent StylusEnterEvent;
  66.         public static readonly RoutedEvent StylusDownEvent;
  67.         public static readonly RoutedEvent StylusButtonUpEvent;
  68.         public static readonly RoutedEvent StylusButtonDownEvent;
  69.         public static readonly DependencyProperty SnapsToDevicePixelsProperty;
  70.         public static readonly DependencyProperty RenderTransformProperty;
  71.         public static readonly DependencyProperty RenderTransformOriginProperty;
  72.         public static readonly RoutedEvent QueryCursorEvent;
  73.         public static readonly RoutedEvent QueryContinueDragEvent;
  74.         public static readonly RoutedEvent PreviewTouchUpEvent;
  75.         public static readonly RoutedEvent PreviewTouchMoveEvent;
  76.         public static readonly RoutedEvent StylusInRangeEvent;
  77.         public static readonly RoutedEvent MouseWheelEvent;
  78.         public static readonly RoutedEvent PreviewStylusButtonUpEvent;
  79.         public static readonly RoutedEvent MouseRightButtonUpEvent;
  80.         public static readonly DependencyProperty IsKeyboardFocusWithinProperty;
  81.         public static readonly DependencyProperty IsKeyboardFocusedProperty;
  82.         public static readonly DependencyProperty IsHitTestVisibleProperty;
  83.         public static readonly DependencyProperty IsFocusedProperty;
  84.         public static readonly DependencyProperty IsEnabledProperty;
  85.         public static readonly RoutedEvent GotTouchCaptureEvent;
  86.         public static readonly RoutedEvent GotStylusCaptureEvent;
  87.         public static readonly RoutedEvent GotMouseCaptureEvent;
  88.         public static readonly RoutedEvent GotKeyboardFocusEvent;
  89.         public static readonly RoutedEvent GotFocusEvent;
  90.         public static readonly RoutedEvent GiveFeedbackEvent;
  91.         public static readonly DependencyProperty FocusableProperty;
  92.         public static readonly DependencyProperty IsManipulationEnabledProperty;
  93.         public static readonly DependencyProperty EffectProperty;
  94.         public static readonly RoutedEvent DragOverEvent;
  95.         public static readonly RoutedEvent DragLeaveEvent;
  96.         public static readonly RoutedEvent DragEnterEvent;
  97.         public static readonly DependencyProperty ClipToBoundsProperty;
  98.         public static readonly DependencyProperty ClipProperty;
  99.         public static readonly RoutedEvent MouseUpEvent;
  100.         public static readonly DependencyProperty BitmapEffectProperty;
  101.         public static readonly DependencyProperty BitmapEffectInputProperty;
  102.         public static readonly DependencyProperty AreAnyTouchesOverProperty;
  103.         public static readonly DependencyProperty AreAnyTouchesDirectlyOverProperty;
  104.         public static readonly DependencyProperty AreAnyTouchesCapturedWithinProperty;
  105.         public static readonly DependencyProperty AreAnyTouchesCapturedProperty;
  106.         public static readonly RoutedEvent DropEvent;
  107.         public static readonly DependencyProperty IsMouseCapturedProperty;
  108.         public static readonly DependencyProperty CacheModeProperty;
  109.         public static readonly DependencyProperty IsMouseDirectlyOverProperty;
  110.         public static readonly DependencyProperty IsMouseCaptureWithinProperty;
  111.         public static readonly RoutedEvent MouseRightButtonDownEvent;
  112.         public static readonly RoutedEvent MouseMoveEvent;
  113.         public static readonly RoutedEvent MouseLeftButtonUpEvent;
  114.         public static readonly RoutedEvent MouseLeaveEvent;
  115.         public static readonly RoutedEvent MouseEnterEvent;
  116.         public static readonly RoutedEvent MouseDownEvent;
  117.         public static readonly RoutedEvent ManipulationStartingEvent;
  118.         public static readonly RoutedEvent ManipulationStartedEvent;
  119.         public static readonly RoutedEvent ManipulationInertiaStartingEvent;
  120.         public static readonly RoutedEvent ManipulationDeltaEvent;
  121.         public static readonly RoutedEvent ManipulationCompletedEvent;
  122.         public static readonly RoutedEvent ManipulationBoundaryFeedbackEvent;
  123.         public static readonly RoutedEvent MouseLeftButtonDownEvent;
  124.         public static readonly RoutedEvent LostStylusCaptureEvent;
  125.         public static readonly RoutedEvent LostTouchCaptureEvent;
  126.         public static readonly DependencyProperty IsStylusCapturedProperty;
  127.         public static readonly DependencyProperty IsMouseOverProperty;
  128.         public static readonly DependencyProperty IsStylusDirectlyOverProperty;
  129.         public static readonly DependencyProperty IsStylusOverProperty;
  130.         public static readonly DependencyProperty IsStylusCaptureWithinProperty;
  131.         public static readonly RoutedEvent KeyDownEvent;
  132.         public static readonly RoutedEvent KeyUpEvent;
  133.         public static readonly RoutedEvent LostFocusEvent;
  134.         public static readonly RoutedEvent LostKeyboardFocusEvent;
  135.         public static readonly RoutedEvent LostMouseCaptureEvent;
  136.         public static readonly DependencyProperty IsVisibleProperty;
  137.  
  138.         public UIElement();
  139.  
  140.         public bool IsMouseCaptureWithin { get; }
  141.         public bool IsMouseDirectlyOver { get; }
  142.         public bool IsMouseOver { get; }
  143.         public bool IsStylusCaptured { get; }
  144.         public bool IsStylusCaptureWithin { get; }
  145.         public bool IsStylusDirectlyOver { get; }
  146.         public bool IsStylusOver { get; }
  147.         public bool IsVisible { get; }
  148.         [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
  149.         public double Opacity { get; set; }
  150.         public bool SnapsToDevicePixels { get; set; }
  151.         [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  152.         [Obsolete("PersistId is an obsolete property and may be removed in a future release.  The value of this property is not defined.")]
  153.         public int PersistId { get; }
  154.         [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  155.         public Size RenderSize { get; set; }
  156.         public Transform RenderTransform { get; set; }
  157.         public Point RenderTransformOrigin { get; set; }
  158.         public IEnumerable<TouchDevice> TouchesCaptured { get; }
  159.         public IEnumerable<TouchDevice> TouchesCapturedWithin { get; }
  160.         public IEnumerable<TouchDevice> TouchesDirectlyOver { get; }
  161.         public bool IsMouseCaptured { get; }
  162.         public IEnumerable<TouchDevice> TouchesOver { get; }
  163.         public Brush OpacityMask { get; set; }
  164.         public bool IsMeasureValid { get; }
  165.         public bool AreAnyTouchesCaptured { get; }
  166.         public bool IsKeyboardFocusWithin { get; }
  167.         public string Uid { get; set; }
  168.         public Geometry Clip { get; set; }
  169.         public CacheMode CacheMode { get; set; }
  170.         [Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
  171.         public BitmapEffectInput BitmapEffectInput { get; set; }
  172.         [Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
  173.         public BitmapEffect BitmapEffect { get; set; }
  174.         public bool AreAnyTouchesOver { get; }
  175.         public bool AreAnyTouchesDirectlyOver { get; }
  176.         public bool AreAnyTouchesCapturedWithin { get; }
  177.         public bool AllowDrop { get; set; }
  178.         public bool IsManipulationEnabled { get; set; }
  179.         public Size DesiredSize { get; }
  180.         public bool Focusable { get; set; }
  181.         public bool HasAnimatedProperties { get; }
  182.         [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  183.         public InputBindingCollection InputBindings { get; }
  184.         public bool IsArrangeValid { get; }
  185.         public bool IsEnabled { get; set; }
  186.         public bool IsFocused { get; }
  187.         public bool IsHitTestVisible { get; set; }
  188.         public bool IsInputMethodEnabled { get; }
  189.         public bool IsKeyboardFocused { get; }
  190.         public Effect Effect { get; set; }
  191.         [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)]
  192.         public Visibility Visibility { get; set; }
  193.         [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  194.         public CommandBindingCollection CommandBindings { get; }
  195.         public bool ClipToBounds { get; set; }
  196.         protected StylusPlugInCollection StylusPlugIns { get; }
  197.         protected virtual bool IsEnabledCore { get; }
  198.         protected internal virtual bool HasEffectiveKeyboardFocus { get; }
  199.  
  200.         public event DragEventHandler PreviewDragLeave;
  201.         public event StylusEventHandler PreviewStylusMove;
  202.         public event StylusEventHandler PreviewStylusInRange;
  203.         public event StylusEventHandler PreviewStylusInAirMove;
  204.         public event StylusDownEventHandler PreviewStylusDown;
  205.         public event StylusButtonEventHandler PreviewStylusButtonUp;
  206.         public event StylusButtonEventHandler PreviewStylusButtonDown;
  207.         public event QueryContinueDragEventHandler PreviewQueryContinueDrag;
  208.         public event MouseWheelEventHandler PreviewMouseWheel;
  209.         public event MouseButtonEventHandler PreviewMouseUp;
  210.         public event MouseButtonEventHandler PreviewMouseRightButtonUp;
  211.         public event MouseButtonEventHandler PreviewMouseRightButtonDown;
  212.         public event MouseEventHandler PreviewMouseMove;
  213.         public event MouseButtonEventHandler PreviewMouseLeftButtonUp;
  214.         public event MouseButtonEventHandler PreviewMouseLeftButtonDown;
  215.         public event MouseButtonEventHandler PreviewMouseDown;
  216.         public event KeyboardFocusChangedEventHandler PreviewLostKeyboardFocus;
  217.         public event KeyEventHandler PreviewKeyUp;
  218.         public event KeyEventHandler PreviewKeyDown;
  219.         public event StylusEventHandler PreviewStylusOutOfRange;
  220.         public event StylusSystemGestureEventHandler PreviewStylusSystemGesture;
  221.         public event TextCompositionEventHandler PreviewTextInput;
  222.         public event KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus;
  223.         public event EventHandler<TouchEventArgs> TouchLeave;
  224.         public event EventHandler<TouchEventArgs> TouchEnter;
  225.         public event EventHandler<TouchEventArgs> TouchDown;
  226.         public event TextCompositionEventHandler TextInput;
  227.         public event StylusEventHandler StylusUp;
  228.         public event StylusSystemGestureEventHandler StylusSystemGesture;
  229.         public event StylusEventHandler StylusOutOfRange;
  230.         public event StylusEventHandler StylusMove;
  231.         public event StylusEventHandler StylusLeave;
  232.         public event StylusEventHandler StylusInRange;
  233.         public event StylusEventHandler StylusInAirMove;
  234.         public event StylusEventHandler StylusEnter;
  235.         public event StylusButtonEventHandler StylusButtonUp;
  236.         public event StylusButtonEventHandler StylusButtonDown;
  237.         public event QueryCursorEventHandler QueryCursor;
  238.         public event QueryContinueDragEventHandler QueryContinueDrag;
  239.         public event EventHandler<TouchEventArgs> PreviewTouchUp;
  240.         public event EventHandler<TouchEventArgs> PreviewTouchMove;
  241.         public event EventHandler<TouchEventArgs> PreviewTouchDown;
  242.         public event StylusEventHandler PreviewStylusUp;
  243.         public event GiveFeedbackEventHandler PreviewGiveFeedback;
  244.         public event DragEventHandler PreviewDrop;
  245.         public event DragEventHandler DragEnter;
  246.         public event KeyboardFocusChangedEventHandler LostKeyboardFocus;
  247.         public event MouseEventHandler LostMouseCapture;
  248.         public event StylusEventHandler LostStylusCapture;
  249.         public event EventHandler<TouchEventArgs> LostTouchCapture;
  250.         public event EventHandler<ManipulationBoundaryFeedbackEventArgs> ManipulationBoundaryFeedback;
  251.         public event EventHandler<ManipulationCompletedEventArgs> ManipulationCompleted;
  252.         public event EventHandler<ManipulationDeltaEventArgs> ManipulationDelta;
  253.         public event EventHandler<ManipulationInertiaStartingEventArgs> ManipulationInertiaStarting;
  254.         public event EventHandler<ManipulationStartedEventArgs> ManipulationStarted;
  255.         public event EventHandler<ManipulationStartingEventArgs> ManipulationStarting;
  256.         public event MouseButtonEventHandler MouseDown;
  257.         public event MouseEventHandler MouseEnter;
  258.         public event MouseEventHandler MouseLeave;
  259.         public event MouseButtonEventHandler MouseLeftButtonDown;
  260.         public event MouseButtonEventHandler MouseLeftButtonUp;
  261.         public event MouseEventHandler MouseMove;
  262.         public event MouseButtonEventHandler MouseRightButtonDown;
  263.         public event MouseButtonEventHandler MouseRightButtonUp;
  264.         public event MouseButtonEventHandler MouseUp;
  265.         public event MouseWheelEventHandler MouseWheel;
  266.         public event DragEventHandler PreviewDragEnter;
  267.         public event RoutedEventHandler LostFocus;
  268.         public event DragEventHandler PreviewDragOver;
  269.         public event EventHandler LayoutUpdated;
  270.         public event KeyEventHandler KeyDown;
  271.         public event DragEventHandler DragLeave;
  272.         public event DragEventHandler DragOver;
  273.         public event DragEventHandler Drop;
  274.         public event DependencyPropertyChangedEventHandler FocusableChanged;
  275.         public event GiveFeedbackEventHandler GiveFeedback;
  276.         public event RoutedEventHandler GotFocus;
  277.         public event KeyboardFocusChangedEventHandler GotKeyboardFocus;
  278.         public event MouseEventHandler GotMouseCapture;
  279.         public event StylusEventHandler GotStylusCapture;
  280.         public event EventHandler<TouchEventArgs> GotTouchCapture;
  281.         public event DependencyPropertyChangedEventHandler IsEnabledChanged;
  282.         public event DependencyPropertyChangedEventHandler IsHitTestVisibleChanged;
  283.         public event DependencyPropertyChangedEventHandler IsKeyboardFocusedChanged;
  284.         public event DependencyPropertyChangedEventHandler IsKeyboardFocusWithinChanged;
  285.         public event DependencyPropertyChangedEventHandler IsMouseCapturedChanged;
  286.         public event DependencyPropertyChangedEventHandler IsMouseCaptureWithinChanged;
  287.         public event DependencyPropertyChangedEventHandler IsMouseDirectlyOverChanged;
  288.         public event DependencyPropertyChangedEventHandler IsStylusCapturedChanged;
  289.         public event DependencyPropertyChangedEventHandler IsStylusCaptureWithinChanged;
  290.         public event DependencyPropertyChangedEventHandler IsStylusDirectlyOverChanged;
  291.         public event DependencyPropertyChangedEventHandler IsVisibleChanged;
  292.         public event KeyEventHandler KeyUp;
  293.         public event StylusDownEventHandler StylusDown;
  294.         public event EventHandler<TouchEventArgs> TouchUp;
  295.         public event EventHandler<TouchEventArgs> TouchMove;
  296.  
  297.         public void AddHandler(RoutedEvent routedEvent, Delegate handler, bool handledEventsToo);
  298.         public void AddHandler(RoutedEvent routedEvent, Delegate handler);
  299.         public void AddToEventRoute(EventRoute route, RoutedEventArgs e);
  300.         public void ApplyAnimationClock(DependencyProperty dp, AnimationClock clock, HandoffBehavior handoffBehavior);
  301.         public void ApplyAnimationClock(DependencyProperty dp, AnimationClock clock);
  302.         public void Arrange(Rect finalRect);
  303.         public void BeginAnimation(DependencyProperty dp, AnimationTimeline animation, HandoffBehavior handoffBehavior);
  304.         public void BeginAnimation(DependencyProperty dp, AnimationTimeline animation);
  305.         public bool CaptureMouse();
  306.         public bool CaptureStylus();
  307.         public bool CaptureTouch(TouchDevice touchDevice);
  308.         public bool Focus();
  309.         public object GetAnimationBaseValue(DependencyProperty dp);
  310.         public IInputElement InputHitTest(Point point);
  311.         public void InvalidateArrange();
  312.         public void InvalidateMeasure();
  313.         public void InvalidateVisual();
  314.         public void Measure(Size availableSize);
  315.         public virtual bool MoveFocus(TraversalRequest request);
  316.         public virtual DependencyObject PredictFocus(FocusNavigationDirection direction);
  317.         public void RaiseEvent(RoutedEventArgs e);
  318.         public void ReleaseAllTouchCaptures();
  319.         public void ReleaseMouseCapture();
  320.         public void ReleaseStylusCapture();
  321.         public bool ReleaseTouchCapture(TouchDevice touchDevice);
  322.         public void RemoveHandler(RoutedEvent routedEvent, Delegate handler);
  323.         [EditorBrowsable(EditorBrowsableState.Never)]
  324.         public bool ShouldSerializeCommandBindings();
  325.         [EditorBrowsable(EditorBrowsableState.Never)]
  326.         public bool ShouldSerializeInputBindings();
  327.         public Point TranslatePoint(Point point, UIElement relativeTo);
  328.         public void UpdateLayout();
  329.         protected virtual void ArrangeCore(Rect finalRect);
  330.         protected virtual Geometry GetLayoutClip(Size layoutSlotSize);
  331.         protected override GeometryHitTestResult HitTestCore(GeometryHitTestParameters hitTestParameters);
  332.         protected override HitTestResult HitTestCore(PointHitTestParameters hitTestParameters);
  333.         protected virtual Size MeasureCore(Size availableSize);
  334.         protected virtual void OnAccessKey(AccessKeyEventArgs e);
  335.         protected virtual void OnChildDesiredSizeChanged(UIElement child);
  336.         protected virtual AutomationPeer OnCreateAutomationPeer();
  337.         protected virtual void OnDragEnter(DragEventArgs e);
  338.         protected virtual void OnDragLeave(DragEventArgs e);
  339.         protected virtual void OnDragOver(DragEventArgs e);
  340.         protected virtual void OnDrop(DragEventArgs e);
  341.         protected virtual void OnGiveFeedback(GiveFeedbackEventArgs e);
  342.         protected virtual void OnGotFocus(RoutedEventArgs e);
  343.         protected virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e);
  344.         protected virtual void OnGotMouseCapture(MouseEventArgs e);
  345.         protected virtual void OnGotStylusCapture(StylusEventArgs e);
  346.         protected virtual void OnGotTouchCapture(TouchEventArgs e);
  347.         protected virtual void OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs e);
  348.         protected virtual void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e);
  349.         protected virtual void OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs e);
  350.         protected virtual void OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs e);
  351.         protected virtual void OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs e);
  352.         protected virtual void OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs e);
  353.         protected virtual void OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs e);
  354.         protected virtual void OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs e);
  355.         protected virtual void OnKeyDown(KeyEventArgs e);
  356.         protected virtual void OnKeyUp(KeyEventArgs e);
  357.         protected virtual void OnLostFocus(RoutedEventArgs e);
  358.         protected virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e);
  359.         protected virtual void OnLostMouseCapture(MouseEventArgs e);
  360.         protected virtual void OnLostStylusCapture(StylusEventArgs e);
  361.         protected virtual void OnLostTouchCapture(TouchEventArgs e);
  362.         protected virtual void OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs e);
  363.         protected virtual void OnManipulationCompleted(ManipulationCompletedEventArgs e);
  364.         protected virtual void OnManipulationDelta(ManipulationDeltaEventArgs e);
  365.         protected virtual void OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs e);
  366.         protected virtual void OnManipulationStarted(ManipulationStartedEventArgs e);
  367.         protected virtual void OnManipulationStarting(ManipulationStartingEventArgs e);
  368.         protected virtual void OnMouseDown(MouseButtonEventArgs e);
  369.         protected virtual void OnMouseEnter(MouseEventArgs e);
  370.         protected virtual void OnMouseLeave(MouseEventArgs e);
  371.         protected virtual void OnMouseLeftButtonDown(MouseButtonEventArgs e);
  372.         protected virtual void OnMouseLeftButtonUp(MouseButtonEventArgs e);
  373.         protected virtual void OnMouseMove(MouseEventArgs e);
  374.         protected virtual void OnMouseRightButtonDown(MouseButtonEventArgs e);
  375.         protected virtual void OnMouseRightButtonUp(MouseButtonEventArgs e);
  376.         protected virtual void OnMouseUp(MouseButtonEventArgs e);
  377.         protected virtual void OnMouseWheel(MouseWheelEventArgs e);
  378.         protected virtual void OnPreviewDragEnter(DragEventArgs e);
  379.         protected virtual void OnPreviewDragLeave(DragEventArgs e);
  380.         protected virtual void OnPreviewDragOver(DragEventArgs e);
  381.         protected virtual void OnPreviewDrop(DragEventArgs e);
  382.         protected virtual void OnPreviewGiveFeedback(GiveFeedbackEventArgs e);
  383.         protected virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e);
  384.         protected virtual void OnPreviewKeyDown(KeyEventArgs e);
  385.         protected virtual void OnPreviewKeyUp(KeyEventArgs e);
  386.         protected virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e);
  387.         protected virtual void OnPreviewMouseDown(MouseButtonEventArgs e);
  388.         protected virtual void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e);
  389.         protected virtual void OnPreviewMouseLeftButtonUp(MouseButtonEventArgs e);
  390.         protected virtual void OnPreviewMouseMove(MouseEventArgs e);
  391.         protected virtual void OnPreviewMouseRightButtonDown(MouseButtonEventArgs e);
  392.         protected virtual void OnPreviewMouseRightButtonUp(MouseButtonEventArgs e);
  393.         protected virtual void OnPreviewMouseUp(MouseButtonEventArgs e);
  394.         protected virtual void OnPreviewMouseWheel(MouseWheelEventArgs e);
  395.         protected virtual void OnPreviewQueryContinueDrag(QueryContinueDragEventArgs e);
  396.         protected virtual void OnPreviewStylusButtonDown(StylusButtonEventArgs e);
  397.         protected virtual void OnPreviewStylusButtonUp(StylusButtonEventArgs e);
  398.         protected virtual void OnPreviewStylusDown(StylusDownEventArgs e);
  399.         protected virtual void OnPreviewStylusInAirMove(StylusEventArgs e);
  400.         protected virtual void OnPreviewStylusInRange(StylusEventArgs e);
  401.         protected virtual void OnPreviewStylusMove(StylusEventArgs e);
  402.         protected virtual void OnPreviewStylusOutOfRange(StylusEventArgs e);
  403.         protected virtual void OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs e);
  404.         protected virtual void OnPreviewStylusUp(StylusEventArgs e);
  405.         protected virtual void OnPreviewTextInput(TextCompositionEventArgs e);
  406.         protected virtual void OnPreviewTouchDown(TouchEventArgs e);
  407.         protected virtual void OnPreviewTouchMove(TouchEventArgs e);
  408.         protected virtual void OnPreviewTouchUp(TouchEventArgs e);
  409.         protected virtual void OnQueryContinueDrag(QueryContinueDragEventArgs e);
  410.         protected virtual void OnQueryCursor(QueryCursorEventArgs e);
  411.         protected virtual void OnRender(DrawingContext drawingContext);
  412.         protected virtual void OnStylusButtonDown(StylusButtonEventArgs e);
  413.         protected virtual void OnStylusButtonUp(StylusButtonEventArgs e);
  414.         protected virtual void OnStylusDown(StylusDownEventArgs e);
  415.         protected virtual void OnStylusEnter(StylusEventArgs e);
  416.         protected virtual void OnStylusInAirMove(StylusEventArgs e);
  417.         protected virtual void OnStylusInRange(StylusEventArgs e);
  418.         protected virtual void OnStylusLeave(StylusEventArgs e);
  419.         protected virtual void OnStylusMove(StylusEventArgs e);
  420.         protected virtual void OnStylusOutOfRange(StylusEventArgs e);
  421.         protected virtual void OnStylusSystemGesture(StylusSystemGestureEventArgs e);
  422.         protected virtual void OnStylusUp(StylusEventArgs e);
  423.         protected virtual void OnTextInput(TextCompositionEventArgs e);
  424.         protected virtual void OnTouchDown(TouchEventArgs e);
  425.         protected virtual void OnTouchEnter(TouchEventArgs e);
  426.         protected virtual void OnTouchLeave(TouchEventArgs e);
  427.         protected virtual void OnTouchMove(TouchEventArgs e);
  428.         protected virtual void OnTouchUp(TouchEventArgs e);
  429.         protected internal virtual DependencyObject GetUIParentCore();
  430.         protected internal virtual void OnRenderSizeChanged(SizeChangedInfo info);
  431.         protected internal override void OnVisualParentChanged(DependencyObject oldParent);
  432.     }
  433. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top