Back to Devexpress

UploadControlSettings.CancelButtonHorizontalPosition Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-uploadcontrolsettings-dd9c92be.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public CancelButtonHorizontalPosition CancelButtonHorizontalPosition { get; set; }
vb
Public Property CancelButtonHorizontalPosition As CancelButtonHorizontalPosition

Property Value

TypeDescription
CancelButtonHorizontalPosition

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 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

File Upload

UploadControlSettings Class

UploadControlSettings Members

DevExpress.Web.Mvc Namespace