Back to Devexpress

UploadControlSettings.AddUploadButtonsHorizontalPosition Property

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

latest2.7 KB
Original Source

UploadControlSettings.AddUploadButtonsHorizontalPosition Property

Gets or sets the horizontal alignment of the Add and Upload buttons within the add and upload buttons area.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
AddUploadButtonsHorizontalPosition

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 UploadControlSettings.ShowUploadButton and the UploadControlSettings.ShowAddRemoveButtons properties are set to true.

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

See Also

File Upload

UploadControlSettings Class

UploadControlSettings Members

DevExpress.Web.Mvc Namespace