Ejemplo n.º 1
0
        // Note: there are multiple constructor overloads.
        public HtmlCanvasPointerRoutedEventArgs(RightTappedRoutedEventArgs e, HtmlCanvas htmlCanvas)
        {
            this.OriginalSource    = e.OriginalSource;
            this.Handled           = e.Handled;
            this._pointerAbsoluteX = e._pointerAbsoluteX;
            this._pointerAbsoluteY = e._pointerAbsoluteY;

            this.HtmlCanvas = htmlCanvas;
        }
Ejemplo n.º 2
0
        public HtmlCanvasPointerRoutedEventArgs(PointerRoutedEventArgs e, HtmlCanvas htmlCanvas)
#endif
        {
            this.OriginalSource    = e.OriginalSource;
            this.Handled           = e.Handled;
            this.KeyModifiers      = e.KeyModifiers;
            this.Pointer           = e.Pointer;
            this._pointerAbsoluteX = e._pointerAbsoluteX;
            this._pointerAbsoluteY = e._pointerAbsoluteY;

            this.HtmlCanvas = htmlCanvas;
        }
Ejemplo n.º 3
0
        // Note: there are multiple constructor overloads.
#if MIGRATION
        public HtmlCanvasPointerRoutedEventArgs(MouseEventArgs e, HtmlCanvas htmlCanvas)