Back to Devexpress

ASPxUploadControl.CancelButtonHorizontalPosition Property

aspnet-devexpress-dot-web-dot-aspxuploadcontrol-5f976400.md

latest3.2 KB
Original Source

ASPxUploadControl.CancelButtonHorizontalPosition Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(CancelButtonHorizontalPosition.Center)]
public CancelButtonHorizontalPosition CancelButtonHorizontalPosition { get; set; }
vb
<DefaultValue(CancelButtonHorizontalPosition.Center)>
Public Property CancelButtonHorizontalPosition As CancelButtonHorizontalPosition

Property Value

TypeDefaultDescription
CancelButtonHorizontalPositionCenter

One of the CancelButtonHorizontalPosition enumeration values.

|

Available values:

NameDescription
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

ShowProgressPanel

CancelButtonSpacing

ASPxUploadControl Class

ASPxUploadControl Members

DevExpress.Web Namespace