public ImageGridEntry Add(string name, byte[] image, int width = 128, int height = 128) { var entry = new ImageGridEntry(name, image) { Width = width + 256, Height = height, ImageWidth = width, ImageHeight = height }; Add(entry); NotifyPropertyChanged(nameof(Items)); return(entry); }
public void Add(ImageGridEntry entry) { internalItems.Add(entry); NotifyPropertyChanged(nameof(Items)); }