Last active
August 3, 2021 08:16
-
-
Save jasondown/57045095d72e6a2d2809097fe2e0ea77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void InitPageableImages() | |
{ | |
CanPageNext = _images.Count > PageSize; | |
CanPagePrevious = false; | |
CurrentPage = 0; | |
PageableImages.Reset(GetImages()); | |
OnPropertyChanged("PageableImages"); | |
CommandManager.InvalidateRequerySuggested(); // ADDED THIS LINE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment