Skip to main content
Version: 3.5

Rotation

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Add rotation capabilities along the X,Y,Z axis to Control controls.

public class Rotation : Component, IWisejExtenderProvider, IExtenderProvider

Constructors

Instance memberRotation()

Initializes a new instance of the Rotation extender without a specified container.

Instance memberRotation(container)

Initializes a new instance of the Rotation extender with a specified container.

NameTypeDescription
containerIContainerAn IContainer that represents the container of the Rotation extender.

Properties

Instance memberTag

Object: Returns or sets the object that contains programmer-supplied data associated with the StyleSheet extender. (Default: null)

Methods

Instance memberCanExtend(target)

Returns true if the Rotation extender can offer an extender property to the specified target component.

ParameterTypeDescription
targetObjectThe target object to add an extender property to.

Returns: Boolean. true if the Rotation class can offer one or more extender properties; otherwise, false.

Instance memberClear()

Removes all rotation properties.

Instance memberGetRotation(control)

Rotation properties.

ParameterTypeDescription
controlControlThe Control for which to retrieve the rotation properties.

Returns: Properties. A Properties instance with the rotation properties.

Instance memberResetRotation(control)

Removes all the rotation properties from the control .

ParameterTypeDescription
controlControlControl to remove from the Rotation extender.

Instance memberSetRotation(control, properties)

Assigns the rotation properties to the control.

ParameterTypeDescription
controlControlThe control to rotate.
propertiesPropertiesAn instance of Properties defining the rotation style.

Implements

NameDescription
IWisejComponentAll wisej components implement this interface.
IWisejExtenderProviderDefines the interface for extending properties to other components in a container.
IWisejSerializableAllows an object to serialize itself.