/// <summary> /// Returns /// </summary> /// <param name="e">The <see cref="T:System.Windows.Input.MouseButtonEventArgs"/> that contains the event data. The event data reports that one or more mouse buttons were pressed.</param> protected override void OnPreviewMouseDown(MouseButtonEventArgs e) { base.OnPreviewMouseDown(e); if (XCaseCanvas != null && this is ISelectable) { XCaseCanvas.SelectableItemPreviewMouseDown(this as ISelectable, e); } }
/// <summary> /// Calls <see cref="Controls.XCaseCanvas"/>.<see cref="Controls.XCaseCanvas.SelectableItemPreviewMouseDown"/> on <see cref="XCaseCanvas"/> /// </summary> /// <param name="e">The <see cref="T:System.Windows.Input.MouseButtonEventArgs"/> that contains the event data. The event data reports that the left mouse button was pressed.</param> protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e) { base.OnPreviewMouseDown(e); XCaseCanvas.SelectableItemPreviewMouseDown(this, e); }