Skip to main content
Version: 4.1

Rotation

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public class Rotation : Component, IWisejExtenderProvider, IExtenderProvider

Constructors

Instance member Rotation()

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

Instance member Rotation(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 member Tag

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

Methods

Instance member CanExtend(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 member Clear()

Removes all rotation properties.

Protected member Dispose(disposing)

ParameterTypeDescription
disposingBoolean

Instance member GetRotation(control)

Rotation properties.

ParameterTypeDescription
controlControlThe Control for which to retrieve the rotation properties.

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

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Instance member ResetRotation(control)

Removes all the rotation properties from the control .

ParameterTypeDescription
controlControlControl to remove from the Rotation extender.

Instance member SetRotation(control, properties)

Assigns the rotation properties to the control.

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

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejExtenderProviderDefines the interface for extending properties to other components in a container.
IWisejSerializableAllows an object to serialize itself.