# Class TCustomDragHandler

Description
Hierarchy
Fields
Methods

## Unit

uCEFDragHandler

## Declaration

`type TCustomDragHandler = class(TCefDragHandlerOwn)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefDragHandlerOwn
- TCustomDragHandler

## Overview

### Fields

Protected | `FEvents: Pointer;`

### Methods

Protected | `function OnDragEnter(const browser: ICefBrowser; const dragData: ICefDragData; mask: TCefDragOperations): Boolean; override;`
Protected | `procedure OnDraggableRegionsChanged(const browser: ICefBrowser; const frame: ICefFrame; regionsCount: NativeUInt; const regions: PCefDraggableRegionArray); override;`
Protected | `procedure RemoveReferences; override;`
Public | `constructor Create(const events : IChromiumEvents); reintroduce; virtual;`
Public | `destructor Destroy; override;`

## Description

### Fields

Protected | `FEvents: Pointer;`
This item has no description.

### Methods

Protected | `function OnDragEnter(const browser: ICefBrowser; const dragData: ICefDragData; mask: TCefDragOperations): Boolean; override;`
This item has no description. Showing description inherited from ICefDragHandler.OnDragEnter. 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.

Protected | `procedure OnDraggableRegionsChanged(const browser: ICefBrowser; const frame: ICefFrame; regionsCount: NativeUInt; const regions: PCefDraggableRegionArray); override;`
This item has no description. Showing description inherited from ICefDragHandler.OnDraggableRegionsChanged. 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.

Protected | `procedure RemoveReferences; override;`
This item has no description. Showing description inherited from ICefDragHandler.RemoveReferences. Custom procedure to clear all references.

Public | `constructor Create(const events : IChromiumEvents); reintroduce; virtual;`
This item has no description.

Public | `destructor Destroy; override;`
This item has no description.

Generated by PasDoc 1.0.4.