Skip to main content

UploadControlSettings.CancelButton Property

Gets the settings of the Cancel button.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CancelButtonProperties CancelButton { get; }

Property Value

Type Description
CancelButtonProperties

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

Remarks

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