IBackground |
public interface IBackgroundStyle : ICloneable, IDocumentLeafNode, INamedObject, IChangedEventSource, ISuspendableByToken, ITunnelingEventSource, IDisposable, ITreeNodeWithParent<IDocumentLeafNode>, ITreeNode<IDocumentLeafNode>, INodeWithParentNode<IDocumentLeafNode>
The IBackgroundStyle type exposes the following members.
| Name | Description | |
|---|---|---|
| Brush | Gets or sets the brush. Can be null if this instance does not support a brush. | |
| ChildNodes |
Gets the child nodes.
(Inherited from ITreeNodeT) | |
| IsDisposed |
Gets a value indicating whether this instance is disposed.
(Inherited from IDocumentLeafNode) | |
| IsDisposeInProgress |
Gets a value indicating whether this instance is in dispose progress, or the instance is already disposed.
(Inherited from IDocumentLeafNode) | |
| IsSuspended |
Gets a value indicating whether this instance is suspended.
(Inherited from ISuspendableByToken) | |
| Name |
Gets the name of this instance.
An InvalidOperationException will be thrown if the name is not yet set or can not be retrieved.
(Inherited from INamedObject) | |
| ParentNode |
Gets the parent node of this node.
(Inherited from INodeWithParentNodeT) | |
| ParentObject |
Gets or sets the parent document node of this leaf node.
(Inherited from IDocumentLeafNode) | |
| SupportsBrush | Gets a value indicating whether the class brush property can be set. |
| Name | Description | |
|---|---|---|
| Clone | Creates a new object that is a copy of the current instance. (Inherited from ICloneable) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
| Draw(Graphics, RectangleD2D) | Draws the background. | |
| Draw(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. | |
| EhParentTunnelingEventHappened |
Handles a tunneling event raised by a parent document node.
(Inherited from IDocumentLeafNode) | |
| MeasureItem | Measures the outer size of the item. | |
| SetDisposeInProgress |
Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode) | |
| SuspendGetToken |
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) | |
| TryGetName |
Test if this item already has a name.
(Inherited from INamedObject) |
| Name | Description | |
|---|---|---|
| Changed | Fired when something in the object has changed. (Inherited from IChangedEventSource) | |
| TunneledEvent |
The event that is fired when a tunneling event occurs.
First argument is the sender,
second argument is the original source,
and third argument is the event arguments.
(Inherited from ITunnelingEventSource) |
| Name | Description | |
|---|---|---|
| GetPropertyContext |
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) |