public void CloseSelectedShelf() { if (_selectedShelf != null) { _selectedShelf.Close(); } }
public override void Exit() { _shelf._exitRequestedByComponent = true; // close the shelf _shelf.Close(UserInteraction.Allowed, CloseReason.Program); }