Back to Devexpress

CustomDrawBackgroundEventArgs Members

windowsforms-devexpress-dot-xtradiagram-dot-customdrawbackgroundeventargs-dot-underscore-members.md

latest4.5 KB
Original Source

CustomDrawBackgroundEventArgs Members

Provides data for the DiagramControl.CustomDrawBackground event.

Fields

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

Properties

NameDescription
ContentBoundsGets the rectangle which encompasses the background area excluding margins.
ContextGets whether the item is to be drawn on the canvas, toolbox, in the print or export output or as the drag preview.
GraphicsReturns an object that provides painting facilities.
GraphicsCacheReturns an object that provides painting facilities.
PageMargin
PagesInfoGets the list of diagram pages.
PrintBoundsGets the rectangle which encompasses the total background area when printing the diagram.
PrintClientBoundsGets the rectangle which encompasses the background area excluding margins when printing the diagram.
PrintIndexGets the zero-based index of the page that is currently being rendered when printing the diagram.
TotalBoundsGets the rectangle which encompasses the total background area.
ViewportBoundsGets the rectangle which encompasses the viewport area.

Methods

NameDescription
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

CustomDrawBackgroundEventArgs Class

DevExpress.XtraDiagram Namespace