Skip to main content
Tab

ASPxUploadControl.CancelButtonHorizontalPosition Property

Gets or sets the horizontal alignment of the cancel button in the progress panel.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(CancelButtonHorizontalPosition.Center)]
public CancelButtonHorizontalPosition CancelButtonHorizontalPosition { get; set; }

Property Value

Type Default Description
CancelButtonHorizontalPosition Center

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 ASPxUploadControl.ShowProgressPanel property.

The vertical position of the cancel button is specified by the ASPxUploadControl.CancelButtonSpacing property, that defines the spacing between the progress bar and the button.

See Also