GalleryItemCustomDrawEventArgs(GraphicsCache, BaseGallery, Object, Rectangle) Constructor
Initializes a new instance of the GalleryItemCustomDrawEventArgs class.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public GalleryItemCustomDrawEventArgs(
GraphicsCache cache,
BaseGallery gallery,
object itemInfo,
Rectangle bounds
)
#Parameters
Name | Type | Description |
---|---|---|
cache | Graphics |
A Graphics |
gallery | Base |
A Base |
item |
Object | An object which provides information required to paint a Gallery item. This value is assigned to the Gallery |
bounds | Rectangle | A Rectangle structure which represents the Gallery item’s boundaries. This value is assigned to the Gallery |