private void galleryControlGallery1_ItemCheckedChanged(object sender, DevExpress.XtraBars.Ribbon.GalleryItemEventArgs e) { if (e.Item.Checked) { UpdatePageLayot(); } }
void Gallery_ItemCheckedChanged(object sender, DevExpress.XtraBars.Ribbon.GalleryItemEventArgs e) { var items = faceGalleryControl.Gallery.GetCheckedItems(); if (items.Count > 0) { var item = items[0].Tag as Damany.PortraitCapturer.DAL.DTO.Portrait; if (item != null && item.Frame != null) { wholePicture.Image = item.Frame.ImageCopy; } } }
private void galleryControl1_Gallery_ItemCheckedChanged(object sender, DevExpress.XtraBars.Ribbon.GalleryItemEventArgs e) { UpdateRemoveButton(); }