# GraffitiDropzone
Class Inherits GraffitiSuite.BaseCanvas
## About
GraffitiDropzone provides a simple means of capturing user file drops and selection, and providing instructions.
**
Features:
**
*
File drop capture
*
Custom links
*
Multiple file handling
## Preview




Previous
Next
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Attributes
| Name | Value |
| --- | --- |
| DefaultEvent | "FilesDropped" |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| FilesDropped | (None) | (None) | Raised when files are dropped on the control. |
| LinkClick | index as Integer | (None) | Raised when the specified link is clicked. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddFile | file as FolderItem <br> atIndex as Integer = -1 | (None) | Add a file to the currently selected items. |
| File | atIndex as Integer | FolderItem | Returns the FolderItem at the given index. |
| LastFileIndex | (None) | Integer | Returns the index of the final currently selected file. |
| RemoveAllFiles | (None) | (None) | Removes all files from the internal FolderItem array. |
| RemoveFile | atIndex as Integer | (None) | Removes the FolderItem from the internal array at the given index. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Caption | String | (None) | Text to display below the drop icon. Use <link></link> to indicate links. |
| CustomColors | Boolean | (None) | When True, the class will use the color properties to draw the UI. |
| IconColor | Color | (None) | Color to use when drawing the icon in the display area. |
| LinkColor | Color | (None) | Color used to draw links in the display area. |
| TextColor | Color | (None) | Color used to draw text in the display area. |
| TextFont | String | (None) | Font used to draw text and links in the display area. |
| TextSize | Integer | (None) | Font size used to draw text and links in the display area. |