/// <summary>
 /// Provides a deterministic way to delete the Selection property.
 /// </summary>
 public static void ClearSelection()
 {
     _selection.Cleanup();
     _selection = null;
 }