Version

xamDiagram - Properties Reference

XamDiagram Properties Reference

Introduction

This topic provides reference information about the inspectable test object properties of the XamDiagram™ control.

Properties reference chart

The following table summarizes the control’s test object properties and tools with which you can inspect them.

Legend:

spy.png – Identification property (Visible in object spy)

checkpoint.png – Checkpoint property (Visible with checkpoints)

script.png – Accessible in script

Property name Description Accessibility

ZoomLevel

Settable property that returns a double which represents the current zoom level. Where 1 = 100%

spy.png
checkpoint.png
script.png

Location

a double value representing the [X,Y] Offset from its current location

spy.png
checkpoint.png
script.png

Table Verification

When performing a standard checkpoint, the returned result contains a table of the current visible menu items, or the root item if the XamDiagram is closed.

Table Verification Definitions

Column name Data type Description

Index

System.Int32

Integer index of the DiagramItem in the Diagram.Items collection

Text

System.Int32

string VisibleText of DiagramItem

Type

System.String

string Type Name of the DiagramItem

LocOrStartPosX

System.Double

double value of the X location for a DiagramNode, or a StartPosition of a DiagramConnection

LocOrStartPosY

System.Double

double value of the X location for a DiagramNode, or a StartPosition of a DiagramConnection

WidthOrEndPosX

System.Double

double value of the Width for a DiagramNode, or a EndPosition of a DiagramConnection

HeightOrEndPosY

System.Double

double value of the Height for a DiagramNode, or a EndPosition of a DiagramConnection

NodeShapeType

System.String

string value of the ShapeType of a DiagramNode

ConnStartCnIndex

System.Int32

integer index of the Node attached to the start of the DiagramConnection

ConnStartPtName

System.String

string name of the point area of a Node attached to the start of the DiagramConnection

ConnEndCnIndex

System.Int32

integer index of the Node attached to the end of the DiagramConnection

ConnEndPtName

System.String

string name of the point area of a Node attached to the start of the DiagramConnection

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides information about recordable actions for testing the XamDiagram™ control.

This topic provides information about replay-only actions for testing the XamDiagram™ control.

This topic provides reference material on the common enumerations used for testing the XamDiagram™ control.