This property controls the behavior of the ControlDot object. Controls the type of behavior the x-coordinate of the control handle will exhibit after the handle is moved. Gets or sets a Byte value.
Applies to objects: ControlDot
[Let] RetVal = object.YBehaviour [Let] object.YBehaviour = SetVal |
The YBehaviour property syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
RetVal | A Byte type variable. |
SetVal | A Byte value. |
The possible values of the property are described in the table below:
Constant | Value | Behavior | Definition |
cdbCtlProportional | 0 | Proportional | The control handle can be moved, and it also moves in proportion
with the shape when it is stretched. |
cdbCtlLocked | 1 | Proportional locked | The control handle moves in proportion with the shape but the control handle itself cannot be moved. |
cdbCtlOffsetMin | 2 | Offset from bottom edge | The control handle is offset a constant distance from the bottom of the shape. |
cdbCtlOffsetMid | 3 | Offset from center | The control handle is offset a constant distance from the center of the shape. |
cdbCtlOffsetMax | 4 | Offset from top edge | The control handle is offset a constant distance from the top of the shape. |
cdbCtlProportionalHidden | 5 | Proportional, hidden | Same as 0, but the control handle is not visible. |
cdbCtlLockedHidden | 6 | Proportional locked, hidden | Same as 1, but the control handle is not visible. |
cdbCtlOffsetMinHidden | 7 | Offset from bottom edge, hidden | Same as 2, but the control handle is not visible. |
cdbCtlOffsetMidHidden | 8 | Offset from center, hidden |
Same as 3, but the control handle is not visible. |
cdbCtlOffsetMaxHidden | 9 | Offset from top edge, hidden | Same as 4, but the control handle is not visible. |
This example demonstrates using the YBehaviour property.
Dim MyControlDot as ControlDot, MyShape As Shape |
See Also |
ControlDot Object, XBehaviour Property, PropertyChanged Method |