Back to Devexpress

RepositoryItemPictureEdit.GetImageLayoutMode() Method

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-0b5d2c7c.md

latest2.1 KB
Original Source

RepositoryItemPictureEdit.GetImageLayoutMode() Method

Returns how the picture is aligned in the PictureEdit control.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public ImageLayoutMode GetImageLayoutMode()
vb
Public Function GetImageLayoutMode As ImageLayoutMode

Returns

TypeDescription
ImageLayoutMode

An ImageLayoutMode enumeration value that specifies how the picture is aligned in the PictureEdit control.

|

Remarks

The GetImageLayoutMode method returns the alignment of the picture in the PictureEdit control based on the RepositoryItemPictureEdit.SizeMode and RepositoryItemPictureEdit.PictureAlignment properties.

See Also

SizeMode

PictureAlignment

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace