Class Node
Defines a base node for a html segment
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Data.Display
Assembly: ImageVault.Common.dll
Syntax
public abstract class Node : ICloneable
Constructors
Node()
Initializes a new instance of the Node class.
Declaration
protected Node()
Node(Node)
Initializes a new instance of the Node class.
Declaration
protected Node(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node |
Properties
Disabled
Get/Sets the Disabled of the Node
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If false (default) the node is active and will be rendered, if true it will not be rendered (or any of it's content) |
Methods
Bind(BindContext)
Binds the node according to the supplied context
Declaration
public virtual void Bind(BindContext context)
Parameters
Type | Name | Description |
---|---|---|
BindContext | context |
Bind(Media)
Binds the Node to the supplied mediaItem
Declaration
[Obsolete("Use Bind(BindContext) instead")]
public virtual void Bind(Media info)
Parameters
Type | Name | Description |
---|---|---|
Media | info |
Bind(Media, MediaItem)
Binds the Node to the supplied mediaItem
Declaration
[Obsolete("Use Bind(Media) instead")]
public virtual void Bind(Media info, MediaItem mediaItem)
Parameters
Type | Name | Description |
---|---|---|
Media | info | |
MediaItem | mediaItem |
BindAttribute(String, AttributeBindName)
Binds a value to a attribute
Declaration
[Obsolete("Use BindContext.MapAttribute and Bind(BindContext) instead")]
public abstract void BindAttribute(string value, AttributeBindName bindValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
AttributeBindName | bindValue |
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public abstract Node Clone()
Returns
Type | Description |
---|---|
Node | A new object that is a copy of this instance. |
Explicit Interface Implementations
ICloneable.Clone()
Creates a new object that is a copy of the current instance.
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
Implements
System.ICloneable