property TreeCube.AllowRotate as RotateEnum
Specifies the directions where the user can drag the cube.

TypeDescription
RotateEnum A RotateEnum expression that specifies the direction the user can drag.
By default, the AllowRotate property is exRotateAll, and that means that the user can rotate the cube to any direction. For instance, if the AllowRotate property is exRotateLeft + exRotateRight, the user can rotate the cube to the left or to the right.  Use the Rotate method to programmatically rotate the cube. The control fires the Rotate event when the cube is rotated. Use the RotX and RotY properties to specify the rotation angles. The AlwaysEnsureVisibleFace property property indicates whether the control allows fully visible face when the user drags the cube to a different position. Use the AllowEnsureVisibleFaceOnKey property to disable navigating through the faces when user presses SPACE or arrow keys. The EnsureVisibleFaces property specifies the faces that can be fully visible. The EnsureVisibleFace method ensures that specified face is fully displayed on the control. The VisibleFace property specifies the visible face.