Click or drag to resize
CfxDragHandler Class

[This is preliminary documentation and is subject to change.]

Implement this structure to handle events related to dragging. The functions of this structure will be called on the UI thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxClientBase
        ChromiumCfxDragHandler

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxDragHandler : CfxClientBase

The CfxDragHandler type exposes the following members.

Constructors
  NameDescription
Public methodCfxDragHandler
Initializes a new instance of the CfxDragHandler class
Top
Properties
  NameDescription
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Top
Events
  NameDescription
Public eventOnDragEnter
Called when an external drag event enters the browser window. |DragData| contains the drag event data and |Mask| represents the type of drag operation. Return false (0) for default drag handling behavior or true (1) to cancel the drag event.
Public eventOnDraggableRegionsChanged
Called whenever draggable regions for the browser window change. These can be specified using the '-webkit-app-region: drag/no-drag' CSS-property. If draggable regions are never defined in a document this function will also never be called. If the last draggable region is removed from a document this function will be called with an NULL vector.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_drag_handler_capi.h.
See Also