property Element.Boundary as ElementBoundaryEnum
Indicates the element's boundary, which specifies the area within which the element can be dragged.

TypeDescription
ElementBoundaryEnum Indicates the element's boundary, which specifies the area within which the element can be dragged as a value of the ElementBoundaryEnum enumeration.
The Boundary property specifies the boundary of the element when user drags it. The boundary option restricts the movement of the element when it is being dragged by the user. By default, the boundary is set to exNone, which means that the element can be dragged anywhere. The boundary can be set to other values to restrict the movement of the element within its pool, lane, phase, or intersection of lane and phase.

The boundary is defined as a value of ElementBoundaryEnum type, which can be one of the following:

The X property of the element is used to determine the horizontal position of the element, and the Y property of the element is used to determine the vertical position of the element. The Width and Height properties of the element are used to determine the size of the element.