/// <summary> /// Raises the <see cref="E:ClosedByUser" /> event. /// </summary> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected virtual void OnClosedByUser(EventArgs e) { ClosedByUser?.Invoke(this, e); }
public void CloseTabByUser() { ClosedByUser?.Invoke(this); }