Click or drag to resize

IBackgroundStyle Methods

The IBackgroundStyle type exposes the following members.

Methods
 NameDescription
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodDraw(Graphics, RectangleD2D) Draws the background.
Public methodDraw(Graphics, BrushX, RectangleD2D) Draws the background with a custom brush. This function must be implemented only if SupportsBrush returns true. The brush stored in the instance implementing this interface is unchanged and ignored during the drawing.
Public methodEhParentTunnelingEventHappened
(Inherited from IDocumentLeafNode)
Public methodMeasureItem Measures the outer size of the item.
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode)
Public methodSuspendGetToken Suspends the event handling of the object by getting a suspend token. The event handling of the object is resumed when the suspend token is disposed.
(Inherited from ISuspendableByToken)
Public methodTryGetName Test if this item already has a name.
(Inherited from INamedObject)
Top
Extension Methods
 NameDescription
Public Extension MethodGetPropertyContext Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched, until a node which implements IPropertyBagOwner is found.
(Defined by PropertyExtensions)
Top
See Also