Back to Devexpress

ASPxUploadControl.AddUploadButtonsHorizontalPosition Property

aspnet-devexpress-dot-web-dot-aspxuploadcontrol-b9fcb681.md

latest2.9 KB
Original Source

ASPxUploadControl.AddUploadButtonsHorizontalPosition Property

Gets or sets the horizontal alignment of the add and upload buttons.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
AddUploadButtonsHorizontalPositionLeft

One of the AddUploadButtonsHorizontalPosition enumeration values.

|

Available values:

NameDescription
Left

Aligns the buttons along the left edge of the file input element.

| | Right |

Aligns the buttons along the right edge of the file input element.

| | InputRightSide |

The buttons are displayed on the right side of the file input element.

| | Center |

The buttons are displayed at the center of the file input element.

|

Remarks

The AddUploadButtonsHorizontalPosition property is in effect if the ASPxUploadControl.ShowUploadButton and the ASPxUploadControl.ShowAddRemoveButtons properties are set to true.

The vertical position of the upload button can be customized via the ASPxUploadControl.AddUploadButtonsSpacing property.

See Also

AddUploadButtonsSpacing

ASPxUploadControl Class

ASPxUploadControl Members

DevExpress.Web Namespace