UploadControlSettings.CancelButton Property

Gets the settings of the Cancel button.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public CancelButtonProperties CancelButton { get; }
Public ReadOnly Property CancelButton As CancelButtonProperties

Property Value

Type Description

A CancelButtonProperties object that contains the cancel button's properties.


Use the CancelButton property to access the settings defining the Cancel button, which, when clicked, cancels a file upload initiated within the UploadControl.

Use the UploadControlSettings.ShowProgressPanel property to define the visibility of the UploadControl's progress panel, which contains the Cancel button.

See Also