Note |
|---|
In order to use RadCube control in your projects you have to add references to the Telerik.Windows.Controls assembly. You can find more info here. |
This article will show you how to create a simple cube.
- Drag and Drop the Cube control from the toolbox.
- After you have dropped the control onto the XAML you can manage the control by setting various properties to operate the control's behavior:
CopyXAML
<telerik:RadCube IsRotateXAxisOnly="True" IsRotateOnClickEnabled="True"></telerik:RadCube>
- In order to control the RadCube's size you can set the XWidth, YWidth, ZWidth properties controlling the length of the X ,Y and Z axis:
CopyXAML
<telerik:RadCube x:Name="radCube"
HorizontalAlignment="Center"
VerticalAlignment="Center"
XWidth="200"
YWidth="200"
ZWidth="200"/>