Exemplo n.º 1
0
        //TODO: Implement double click

        /*
         * /// <summary>
         * /// Handle mouse double click to select word under the mouse.
         * /// </summary>
         * protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
         * {
         *  base.OnMouseDoubleClick(e);
         *  if (_htmlContainer != null)
         *      _htmlContainer.HandleMouseDoubleClick(this, e);
         * }
         */

        /// <summary>
        /// Handle key down event for selection, copy and scrollbars handling.
        /// </summary>
        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);
            if (_htmlContainer != null)
            {
                _htmlContainer.HandleKeyDown(this, e);
            }
        }