Rotation
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Add rotation capabilities along the X,Y,Z axis to Control controls.
- C#
- VB.NET
public class Rotation : Component, IWisejExtenderProvider, IExtenderProvider
Public Class Rotation
Inherits Component
Implements IWisejExtenderProvider, IExtenderProvider
Constructors
Rotation()
Initializes a new instance of the Rotation extender without a specified container.
Rotation(container)
Initializes a new instance of the Rotation extender with a specified container.
| Name | Type | Description |
|---|---|---|
| container | IContainer | An IContainer that represents the container of the Rotation extender. |
Properties
Tag
Object: Returns or sets the object that contains programmer-supplied data associated with the StyleSheet extender. (Default: null)
Methods
CanExtend(target)
Returns true if the Rotation extender can offer an extender property to the specified target component.
| Parameter | Type | Description |
|---|---|---|
| target | Object | The target object to add an extender property to. |
Returns: Boolean. true if the Rotation class can offer one or more extender properties; otherwise, false.
Clear()
Removes all rotation properties.
GetRotation(control)
Rotation properties.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The Control for which to retrieve the rotation properties. |
Returns: Properties. A Properties instance with the rotation properties.
ResetRotation(control)
Removes all the rotation properties from the control .
| Parameter | Type | Description |
|---|---|---|
| control | Control | Control to remove from the Rotation extender. |
SetRotation(control, properties)
Assigns the rotation properties to the control.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The control to rotate. |
| properties | Properties | An instance of Properties defining the rotation style. |
Implements
| Name | Description |
|---|---|
| IWisejComponent | All wisej components implement this interface. |
| IWisejExtenderProvider | Defines the interface for extending properties to other components in a container. |
| IWisejSerializable | Allows an object to serialize itself. |