GalleryItemCustomDrawEventArgs Members

Provides data for events used to custom paint gallery items.

Constructors

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

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Bounds Gets the bounding rectangle of the Gallery item currently being painted.
Cache Gets an object which specifies the storage for the most used pens, fonts and brushes.
Gallery Gets the Gallery that contains the processed Gallery item. Inherited from GalleryItemEventArgs.
Handled Gets or sets whether an event was handled. If it was handled default painting isn't required.
InRibbonGalleryLink For In-Ribbon galleries, gets the bar item link that displays the current gallery. Inherited from GalleryItemEventArgs.
Item Gets the Gallery item currently being processed. Inherited from GalleryItemEventArgs.
ItemInfo Gets the information which is required to paint a Gallery item.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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