SftTabs/NET 6.0

DragStyle Property, SftTabs Class

Softel vdm, Inc.

Defines how drag & drop operations are detected.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Property DragStyle As DragStyleEnum

C#   

public DragStyleEnum DragStyle { get; set; }

C++   

public: property DragStyleEnum DragStyle {
        DragStyleEnum get();
        void set(DragStyleEnum value);
}

Property Value

The drag & drop detection style.

DragStyleEnum

Value

Description

None

0

The control does not attempt to detect a drag operation.

Detect

1

The control detects drag operations and the DragDetected event occurs.

The default value is DragStyleEnum.Detect.

Comments

The DragStyle property defines how drag & drop operations are detected.

When the start of a drag operation is detected, the DragDetected event occurs.

Once a drag operation has been detected, it is up to the application to provide and implement the actual drag & drop. The HitTest method can be used if a drop target needs to be located, based on the cursor position.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com