BinaryImageUploadValidationSettings.ValidateImageContent Property
In This Article
Specifies whether the binary image control validates the content of an uploaded file to ensure it is an image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Validate |
---|---|
Binary |
|
#Remarks
By default, the binary image control allows end-users to upload images only. Set the ValidateImageContent property to false
to allow end-users to upload different type of files.
See Also