Class DesignFrame
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
This class is to represent the design frame.
public class DesignFrame : DesignSubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IInterface, ITemplateObject, IEntityRelation, IDraw, IDrawIcon, ITransform, IPoint, IOrientation, IDirectionContainer, IDesignParameter, IReferencable, ITransformable, IVisible, IDesignFrame
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, INamed, INavigatorItem, IDesignSubEntity, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IInterface, ITemplateObject, IEntityRelation, IDraw, IDrawIcon, ITransform, IPoint, IOrientation, IDirectionContainer, IDesignParameter, IReferencable, ITransformable, IVisible, IDesignFrame
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
DesignFrame()
Initializes a new instance of the
public DesignFrame()
DesignFrame(string)
Initializes a new instance of the
public DesignFrame(string strName)
Parameters
strName string
Name of the design frame.
Properties
FrameIconName
Gets the name of the frame icon. In order to distinguish from Marker.
protected virtual string FrameIconName { get; }
Property Value
Hide
Gets or sets a value indicating whether this instance is hide.
public bool Hide { get; set; }
Property Value
IsVisible
Gets or sets the visible state.
public virtual bool IsVisible { get; set; }
Property Value
Layer
Gets or sets the layer.
public Layer Layer { get; set; }
Property Value
Layer
Orientation
Gets the orientation.
public OMatrix Orientation { get; }
Property Value
OMatrix
Position
Gets the position.
public VectorBase Position { get; }
Property Value
VectorBase
Transformation
Gets or sets the transformation.
public TransformBase Transformation { get; set; }
Property Value
TransformBase
TransformationMatrix
Gets or sets the transformation matrix.
public TMatrix TransformationMatrix { get; set; }
Property Value
TMatrix
Value
Gets the position.
public VectorBase Value { get; }
Property Value
VectorBase
X
Gets the X coordinate of position.
public double X { get; }
Property Value
Y
Gets the Y coordinate of position.
public double Y { get; }
Property Value
Z
Gets the Z coordinate of position.
public double Z { get; }
Property Value
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.
GetDirection(Coordinate)
Gets the direction.
public VectorBase GetDirection(Coordinate DirectionType)
Parameters
DirectionType Coordinate
Type of the direction.
Returns
VectorBase
The direction
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.
InstantiateImpl(Reference, Canvas)
Instantiates the specified reference.
protected virtual void InstantiateImpl(Reference reference, Canvas canvas)
Parameters
reference Reference
The reference
canvas Canvas
The canvas
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
ReDraw()
Redraw.
public virtual void ReDraw()
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.