protected virtual void SetDefaultMode() { AppBarItems.Clear(); SecondaryItems.Clear(); CreateDefaultAppBarButtons(); }
private void UpdateAppBar() { AppBarItems.Clear(); if (IsSelectionEnabled) { AddAppBarItem(_favoriteButton); AddAppBarItem(_deleteButton); AddAppBarItem(_saveToMediaMenuItem); } else { AddAppBarItem(_selectButton); AddAppBarItem(_searchButton); AddAppBarItem(_mapButton); if (!LicenseHelper.IsPremium) { AddAppBarItem(_upgradeMenuItem); } AddAppBarItem(_pinRecordMenuItem); AddAppBarItem(_settingsMenuItem); AddAppBarItem(_aboutMenuItem); #if (DEBUG && BETA) || DEBUG AddAppBarItem(_clearIapMenuItem); #endif } }
protected virtual void SetSelectionMode() { AppBarItems.Clear(); SecondaryItems.Clear(); CreateSelectionAppBarButtons(); }
private void UpdateAppBar() { AppBarItems.Clear(); if (IsSelectionEnabled) { AddAppBarItem(_removeButton); AddAppBarItem(_deleteButton); AddAppBarItem(_saveToMediaMenuItem); } else { AddAppBarItem(_selectButton); AddAppBarItem(_pinFavoritesMenuItem); } }
private void UpdateAppBar() { AppBarItems.Clear(); if (IsSelectionEnabled) { AddAppBarItem(_favoriteButton); AddAppBarItem(_deleteButton); AddAppBarItem(_saveToMediaMenuItem); } else { AddAppBarItem(_selectButton); AddAppBarItem(_searchButton); if (_selectedtag != null) { AddAppBarItem(_pinTagMenuItem); } } }
protected override void OnReloadContentCommand() { AppBarItems.Clear(); SecondaryItems.Clear(); VKTracks.Refresh(); }
protected virtual void HideCommandBar() { AppBarItems.Clear(); SecondaryItems.Clear(); }