Back to Devexpress

GalleryItemCustomDrawEventArgs Members

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitemcustomdraweventargs-dot-underscore-members.md

latest5.6 KB
Original Source

GalleryItemCustomDrawEventArgs Members

Provides data for events used to custom paint gallery items.

Constructors

NameDescription
GalleryItemCustomDrawEventArgs(GraphicsCache, BaseGallery, Object, Rectangle)Initializes a new instance of the GalleryItemCustomDrawEventArgs class.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
BoundsGets the bounding rectangle of the Gallery item currently being painted.
CacheGets an object which specifies the storage for the most used pens, fonts and brushes.
GalleryGets the Gallery that contains the processed Gallery item. Inherited from GalleryItemEventArgs.
HandledGets or sets whether an event was handled. If it was handled default painting isn’t required.
InRibbonGalleryLinkFor In-Ribbon galleries, gets the bar item link that displays the current gallery. Inherited from GalleryItemEventArgs.
ItemGets the Gallery item currently being processed. Inherited from GalleryItemEventArgs.
ItemInfoGets the information which is required to paint a Gallery item.

Methods

NameDescription
DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>)Paints the required HTML template inside an element that raised this event. The context parameter allows you to assign an object that transfers mouse events to template elements.
DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>)Paints the required HTML template inside an element that raised this event.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

GalleryItemCustomDrawEventArgs Class

DevExpress.XtraBars.Ribbon Namespace