次の方法で共有


IXRMouseDragElementBehavior (Compact 2013)

3/28/2014

Supports the functionality of dragging an element around on a screen.

Syntax

class IXRMouseDragElementBehavior : public IXRBehavior

Public Data Members

None

Protected Data Members

None

Member Functions

Member Function

Description

IXRMouseDragElementBehavior.AddDragBegunEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Adds a DragBegun event handler.

IXRMouseDragElementBehavior.AddDragFinishedEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Adds a DragFinished event handler.

IXRMouseDragElementBehavior.AddDraggingEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Adds a DraggingEvent handler.

IXRMouseDragElementBehavior.GetConstrainToParentBounds(BOOL *)

Gets the value of the ConstrainToParentBounds property.

IXRMouseDragElementBehavior.GetX(float *)

Gets the X location of the cursor.

IXRMouseDragElementBehavior.GetY(float *)

Gets the Y location of the cursor.

IXRMouseDragElementBehavior.RemoveDragBegunEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Removes a DragBegun event handler.

IXRMouseDragElementBehavior.RemoveDragFinishedEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Removes a DragFinished event handler.

IXRMouseDragElementBehavior.RemoveDraggingEventHandler(IXRDelegate @,IXRMouseDragElementBehavior @ gt; *)

Removes a DraggingEvent handler.

IXRMouseDragElementBehavior.SetConstrainToParentBounds(BOOL)

Sets the value of the ConstrainToParentBounds property.

IXRMouseDragElementBehavior.SetX(float)

Sets the X location of the cursor.

IXRMouseDragElementBehavior.SetY(float)

Sets the Y location of the cursor.

Overridable Member Functions

Implemented Methods

See Also

Reference

Classes for Interactivity