Esempio n. 1
0
        /// <summary>
        /// Called when the mouse button is pressed.
        /// </summary>
        /// <param name="e">An instance that contains the event data.</param>
        /// <returns><c>true</c> if the event was handled.</returns>
        protected override bool OnButtonPressEvent(EventButton e)
        {
            this.GrabFocus();

            return this.ActualController.HandleMouseDown(this, e.ToMouseDownEventArgs());
        }