Skip to main content
Tab

BinaryImageEditingSettings.DropZoneText Property

SECURITY NOTE

Setting this property to values from an untrusted source may introduce security-related issues, since the property value is not encoded and is rendered as HTML markup. Call the HttpUtility.HtmlEncode method to encode the value.

Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Specifies the text displayed in a drop zone.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("Drop image file here")]
public string DropZoneText { get; set; }

Property Value

Type Default Description
String "Drop image file here"

A String value specifying the displayed text.

Property Paths

You can access this nested property as listed below:

Object Type Path to DropZoneText
ASPxBinaryImage
.EditingSettings .DropZoneText
BinaryImageEditProperties
.EditingSettings .DropZoneText

Remarks

When the drag and drop feature is enabled, end-users can upload images to the editor by dragging them to a drop zone. The zone is highlighted when a file is dragged over it. Use the DropZoneText property to specify the text displayed in the highlighted zone.

See Also