/// <summary> /// 展开整个Gallary时触发并调用该方法 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ribbonGalleryBarItem1_Gallery_InitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.ColumnCount = 1; e.PopupGallery.ShowItemText = true; e.PopupGallery.Images = rgHoverImages; e.PopupGallery.AllowHoverImages = false; }
private static void Gallery_InitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.CreateFrom(_ribbonGalleryBarItemThemes.Gallery); e.PopupGallery.AllowFilter = false; e.PopupGallery.ShowItemText = true; e.PopupGallery.ShowGroupCaption = true; e.PopupGallery.AllowHoverImages = false; foreach (GalleryItemGroup galleryGroup in e.PopupGallery.Groups) foreach (GalleryItem item in galleryGroup.Items) item.Image = item.HoverImage; e.PopupGallery.ColumnCount = 2; e.PopupGallery.ImageSize = new Size(41, 41); }
private void rgbiSkins_Gallery_InitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.CreateFrom(rgbiSkins.Gallery); e.PopupGallery.AllowFilter = false; e.PopupGallery.ShowItemText = true; e.PopupGallery.ShowGroupCaption = true; e.PopupGallery.AllowHoverImages = false; foreach (GalleryItemGroup galleryGroup in e.PopupGallery.Groups) { foreach (GalleryItem item in galleryGroup.Items) { item.Image = item.HoverImage; } } e.PopupGallery.ColumnCount = 2; e.PopupGallery.ImageSize = new Size(70, 36); }
private void rgbiCurrentView_GalleryInitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.GalleryDropDown.ItemLinks.Add(bbiManageView); e.PopupGallery.GalleryDropDown.ItemLinks.Add(bbiSaveCurrentView); e.PopupGallery.SynchWithInRibbonGallery = true; }
private void rgbiCurrentView_GalleryInitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.GalleryDropDown.ItemLinks.Add(bbiManageView); e.PopupGallery.GalleryDropDown.ItemLinks.Add(bbiSaveCurrentView); e.PopupGallery.SynchWithInRibbonGallery = true; }
private void Skins_Gallery_PopupClose(object sender, InplaceGalleryEventArgs e) { BMS_DLL.DX.TEMAREGISTRYKAYDET("XtraReportDesigner"); }
void FilterGalleryBarItem_GalleryInitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.GalleryDropDown.Gallery.Groups.Clear(); e.PopupGallery.GalleryDropDown.Gallery.Groups.Add(e.Item.Gallery.Groups[0]); SetBarItem("AddFilter", e.PopupGallery.GalleryDropDown, true); }
void OnRgbiViewStyleInitDropDown(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.SynchWithInRibbonGallery = true; }
/// <summary> /// 展开整个Gallary时触发并调用该方法 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ribbonGalleryBarItem1_Gallery_InitDropDownGallery(object sender, InplaceGalleryEventArgs e) { e.PopupGallery.ColumnCount = 1; e.PopupGallery.ShowItemText = true; e.PopupGallery.Images = rgHoverImages; e.PopupGallery.AllowHoverImages = false; }