Class DesignVariable
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
This class is to represent the design variable.
public class DesignVariable : DesignSubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IInterface, ITemplateObject, IEntityRelation, IDesignVariable, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IHasKeyObject, IHasName, IEnabled, IHasComment, IVariable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IDraw, IReferencable, IArgument
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IInterface, ITemplateObject, IEntityRelation, IDesignVariable, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IHasKeyObject, IHasName, IEnabled, IHasComment, IVariable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IDraw, IReferencable, IArgument
Inherited Members
DesignSubEntity.m_bSkipToUpdateSymmetric,
DesignSubEntity.g_dicUpdatedDesignSubEntity,
DesignSubEntity.FixUp(ObjectBase),
DesignSubEntity.CheckCircularReference(),
DesignSubEntity.BindInterfaceImpl(TMatrix, TMatrix, IInterface),
DesignSubEntity.IsInterface,
SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
SubEntity.FixUp(ObjectBase),
SubEntity.WriteTemplateImpl(XmlWriter),
SubEntity.ReadTemplateImpl(XmlReader),
SubEntity.Name,
SubEntity.FullName,
SubEntity.NonSymmetricName,
SubEntity.DisplayName,
SubEntity.IsEnabled,
SubEntity.Comment,
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
DesignVariable()
Initializes a new instance of the
public DesignVariable()
DesignVariable(string)
Initializes a new instance of the
public DesignVariable(string strName)
Parameters
strName string
Name of the design variable.
Properties
ArgumentType
Gets the type of the argument
public ArgumentTypes ArgumentType { get; }
Property Value
ArgumentTypes
Hide
Gets or sets a value indicating whether this instance is hide.
public bool Hide { get; set; }
Property Value
IsDesignParam
Gets or sets a value indicating whether this instance is the peformance index.
public bool IsDesignParam { get; set; }
Property Value
ReferenceType
Gets the type of the array for argument.
public string ReferenceType { get; }
Property Value
Value
Gets the value.
public double Value { get; }
Property Value
Variable
Gets or sets the expression value.
public ExpressionValueVariable Variable { get; set; }
Property Value
ExpressionValueVariable
Methods
BindInterfaceImpl(TMatrix, TMatrix, IInterface)
Binds the interface [implementation].
protected override sealed void BindInterfaceImpl(TMatrix matFrom, TMatrix matTo, IInterface itf)
Parameters
matFrom TMatrix
The matrix before transformation.
matTo TMatrix
The matrix after transformation.
itf IInterface
The interface.
Draw(Canvas)
Draws the icon.
public virtual void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
FinalizeUpdate()
Finalize the update.
public bool FinalizeUpdate()
Returns
GetFullName()
Gets the full name.
public string GetFullName()
Returns
The full name.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
IsEmptyFinalizeUpdate()
public bool IsEmptyFinalizeUpdate()
Returns
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
ReadTemplateImpl(XmlReader)
Reads the template document [implementation].
protected override void ReadTemplateImpl(XmlReader reader)
Parameters
reader XmlReader
The reader.
WriteTemplateImpl(XmlWriter)
Writes the template document [implementation].
protected override void WriteTemplateImpl(XmlWriter writer)
Parameters
writer XmlWriter
The writer.
OnFinalizeUpdate
public event DesignVariable.FinalizeUpdateCallBack OnFinalizeUpdate