Click or drag to resize

IBackgroundStyle Interface

Background for some items, mainly intended for text.

Namespace: Altaxo.Graph.Graph3D.Background
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IBackgroundStyle : IDocumentLeafNode, 
	INamedObject, IChangedEventSource, ISuspendableByToken, ITunnelingEventSource, IDisposable, 
	ITreeNodeWithParent<IDocumentLeafNode>, ITreeNode<IDocumentLeafNode>, INodeWithParentNode<IDocumentLeafNode>, 
	ICloneable

The IBackgroundStyle type exposes the following members.

Properties
 NameDescription
Public propertyChildNodes Gets the child nodes.
(Inherited from ITreeNodeT)
Public propertyDistance Gets or sets the user defined distance. If this value is null, the background class has to find an appropriate distance in the Measure(RectangleD3D) step by itself.
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from IDocumentLeafNode)
Public propertyIsDisposeInProgress Gets a value indicating whether this instance is dispose in progress, or the instance is already disposed.
(Inherited from IDocumentLeafNode)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from ISuspendableByToken)
Public propertyMaterial Gets or sets the material used to draw the background.
Public propertyName 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)
Public propertyParentNode Gets the parent node of this node.
(Inherited from INodeWithParentNodeT)
Public propertyParentObject Retrieves the parent object.
(Inherited from IDocumentLeafNode)
Public propertySupportsUserDefinedMaterial Gets or sets a value indicating whether this background supports user defined material. For some background classes, the kind of material may be fixed, for instance a black background. In this case the value is false. For other backgrounds, you are free to chose the material, in this case the value is true.
Public propertyThickness Gets or sets the user defined background thickness. If this value is null, the background class has to find an appropriate thickness in the Measure(RectangleD3D) step by itself.
Top
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(IGraphicsContext3D, RectangleD3D) Draws the specified background
Public methodDraw(IGraphicsContext3D, RectangleD3D, IMaterial) Draws the specified background
Public methodEhParentTunnelingEventHappened
(Inherited from IDocumentLeafNode)
Public methodMeasure Measures the background size and position.
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
Events
 NameDescription
Public eventChangedFired when something in the object has changed.
(Inherited from IChangedEventSource)
Public eventTunneledEvent The event that is fired when the object is disposed. First argument is the sender, second argument is the original source, and third argument is the event arg.
(Inherited from ITunnelingEventSource)
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