Created
August 3, 2021 07:18
-
-
Save jasondown/4d785caf207158b132964c23672773b0 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
/// <summary> | |
/// Initializes the pageable images and related properties. | |
/// </summary> | |
public void InitPageableImages() | |
{ | |
CanPageNext = _images.Count > PageSize; | |
CanPagePrevious = false; | |
CurrentPage = 0; | |
PageableImages.Reset(GetImages()); | |
OnPropertyChanged("PageableImages"); | |
CommandManager.InvalidateRequerySuggested(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment