UploadControlSettings.CancelButtonHorizontalPosition Property
Gets or sets the horizontal alignment of the Cancel button within the progress panel.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
CancelButtonHorizontalPosition | One of the CancelButtonHorizontalPosition enumeration values. |
Available values:
Name | Description |
---|---|
Left | The cancel button is displayed on the left side of the ASPxUploadControl‘s progress panel, under the progress bar. |
Center | The cancel button is displayed at the center of the ASPxUploadControl‘s progress panel, under the progress bar. |
Right | The cancel button is displayed on the right side of the ASPxUploadControl‘s progress panel, under the progress bar. |
Remarks
The CancelButtonHorizontalPosition property is in effect if the progress panel that contains the Cancel button is visibile, which is defined by the UploadControlSettings.ShowProgressPanel property.
The vertical position of the Cancel button is specified by the UploadControlSettings.CancelButtonSpacing property, that defines the spacing between the progress bar and the button.