public void RemoveMusicInstrumentCase(MusicInstrumentCase musicInstrumentCase = null) { if (musicInstrumentCase == null) { musicInstrumentCase = (MusicInstrumentCase)_tile.GetAttributes().FirstOrDefault(attribute => attribute is MusicInstrumentCase); } if (musicInstrumentCase == null) { return; } _tile.RemoveAttribute(musicInstrumentCase); musicInstrumentCase.Remove(); }