aspnetmvc-devexpress-dot-web-dot-mvc-dot-uploadcontrolsettings-dd9c92be.md
Gets or sets the horizontal alignment of the Cancel button within the progress panel.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public CancelButtonHorizontalPosition CancelButtonHorizontalPosition { get; set; }
Public Property CancelButtonHorizontalPosition As CancelButtonHorizontalPosition
| 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.
|
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.
See Also