See Also

Enumerations

Name Values
Sizes Cover
Contain
Full

Constants

Name Type Value

This class exposes no constants.

Events

Definition Description
Clicked Fired when the user clicks the element.
FileRemoved Fired when the user clears the selected image.
FileSelected as Boolean Fired when the user has selected an image. Return False to cancel selection. Use Value property for filtering.
FileUploaded Fired when the upload is complete and Value is populated with the image data.
ProgressReceived(ProgressValue as Double) Fired when a packet is received during the upload operation.

Methods

Definition Description
Clear() Clears the currently selected image.
Upload() Begins uploaded the currently selected image.

Properties

Name Type Default Value Description
AutoUpload Boolean False When True, upload will commence immediately upon file selection.
IconFindButton String “fas fa-search” FontAwesome icon used within the Find button.
IconRemoveButton String “fas fa-times” FontAwesome icon used within the Remove button.
IconUploadButton String “fas fa-arrow-up” FontAwesome icon used within the Upload button.
ImageSize GraffitiWebImagePicker.Sizes Cover Determines how selected images are drawn within the component display.
PlaceholderText String “Drop an image here, or click the find button below.” Text to display when no image is selected.
ShowFindButton Boolean True Determines whether the find button will be displayed when appropriate.
ShowRemoveButton Boolean True Determines whether the remove button will be displayed when an image is selected.
ShowUploadButton Boolean True Determines whether the upload button will be displayed when an image is selected.
StyleFindButton WebStyle Nil WebStyle applied to the Find button.
StyleRemoveButton WebStyle Nil WebStyle applied to the Remove button.
StyleUploadButton WebStyle Nil WebStyle applied to the Upload button.
Value GraffitiWebFile Nil The currently selected and/or uploaded file.

Examples

This class currently has no examples.

Notes

This class currently has no notes.