/// <summary> /// Fired when the selection with the mouse is finished /// </summary> /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param> protected virtual void OnMouseSelectionFinish(RangeEventArgs e) { oldMouseSelectionRange = Range.Empty; }
/// <summary> /// Fired when the mouse selection must be cancelled. /// </summary> /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param> protected virtual void OnUndoMouseSelection(RangeEventArgs e) { Selection.RemoveRange(e.Range); }
/// <summary> /// Fired when the mouse selection is succesfully finished /// </summary> /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param> protected virtual void OnApplyMouseSelection(RangeEventArgs e) { Selection.AddRange(e.Range); }