Basic Properties

ComponentOne Cube for WPF includes several properties that allow you to set the functionality of the control. Some of the more important properties are listed below. Note that you can see Cube for WPF Appearance Properties for more information about properties that control appearance.

The following properties let you customize the C1Cube control:

 

Property

Description

IsDraggable

Gets or sets a value indicating whether the cube can be rotated by dragging with the mouse. See Cube Interaction for more information and Allowing the Cube to be Dragged for an example.

RotationX

Gets or sets the rotation of the cube in the X-axis. See Cube Rotation for more information and Changing the Cube's Initial Rotation for an example.

RotationY

Gets or sets the rotation of the cube in the Y-axis. See Cube Rotation for more information and Changing the Cube's Initial Rotation for an example.

RotationZ

Gets or sets the rotation of the cube in the Z-axis. See Cube Rotation for more information and Changing the Cube's Initial Rotation for an example.

ShowFaceDelay

Gets or sets the time in seconds that it takes to go to a new face when the current Face is set. See Showing a Cube Face for an example.

Face

An attached property that gets or sets the face of the cube on which an object is placed. See Cube Face for more details.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.