Version

xamDiagramToolbox - Recordable Actions

Topic Overview

Purpose

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

In this topic

This topic contains the following sections:

XamDiagramToolbox Recordable Actions

ExpandCategory

Description

Expand the identified category

Parameters

The following table summarizes the action parameters followed by code examples where applicable.

Parameter Description

sCategoryArg

Integer index or string title of the Category

Possible exceptions

The following list contains the possible exceptions to this action and the likely reason causing them.

  • The specified Toolbox Category index [oCategoryArg ] is out of range

  • The following Toolbox Category [oCategoryArg ] key was not found.

CollapseCategory

Description

Collapses the identified category

Parameters

The following table summarizes the action parameters followed by code examples where applicable.

Parameter Description

sCategoryArg

Integer index or string title of the Category

Possible exceptions

The following list contains the possible exceptions to this action and the likely reason causing them.

  • The specified Toolbox Category index [oCategoryArg ] is out of range

  • The following Toolbox Category [oCategoryArg ] key was not found.

DragItem

Description

Start a drag operation of a diagram toolbox item

Parameters

The following table summarizes the action parameters followed by code examples where applicable.

Parameter Description

sCategoryArg

Integer index or string title of the Category

Possible exceptions

The following list contains the possible exceptions to this action and the likely reason causing them.

  • The specified Toolbox Item index [oItemArg ] is out of range

  • The following Toolbox Item [oItemArg ] key was not found.

  • Argument [oItemArg ] is not formatted correctly, format must be [either a two dimensional array of Category name or index, and Item name or index of the item in the category, or an integer index of the item overall]

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic provides reference information about the XamDiagramToolbox™ control’s test object properties.

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