Click or drag to resize

ElementHelpersCopyProperties Method

Copy the properties (key and value) from one element to another. The properties are preserved on the from element. ElementPropertiesRule that share the same key on the to element are overwritten.

Namespace:  VelocityGraph.Frontenac.Blueprints.Util
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public static void CopyProperties(
	this IElement from,
	IElement to
)

Parameters

from
Type: VelocityGraph.Frontenac.BlueprintsIElement
the element to copy properties from
to
Type: VelocityGraph.Frontenac.BlueprintsIElement
the element to copy properties to

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also