Back to Devexpress

CustomDrawObjectEventArgs Members

windowsforms-devexpress-dot-xtrascheduler-dot-customdrawobjecteventargs-dot-underscore-members.md

latest5.1 KB
Original Source

CustomDrawObjectEventArgs Members

Provides data for the custom draw events of the SchedulerControl.

Constructors

NameDescription
CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle, DefaultDrawDelegate, IDxHtmlFieldValueProvider, AppearanceObject, UserLookAndFeel, Object)Initializes a new instance of the CustomDrawObjectEventArgs class with specified settings.

Fields

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

Properties

NameDescription
BoundsReturns the bounding rectangle of the drawing area.
CacheGets an object which specifies the storage for the pens, fonts and brushes. Use it for custom painting in Scheduler Reports.
GraphicsGets an object used for painting.
HandledGets or sets whether an event was handled. If it was handled, the default actions are not required.
ObjectInfoGets information on the painted element.

Methods

NameDescription
DrawDefault()Renders the element using the default drawing mechanism.
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.
GetDisplayValue(String)
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
GetValue(String)
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

CustomDrawObjectEventArgs Class

DevExpress.XtraScheduler Namespace