Back to Devexpress

RepositoryItemPictureEdit.ZoomPercent Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempictureedit-c36cdaf8.md

latest2.3 KB
Original Source

RepositoryItemPictureEdit.ZoomPercent Property

Gets or sets the zoom percentage of the displayed image.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public double ZoomPercent { get; set; }
vb
<DXCategory("Behavior")>
Public Property ZoomPercent As Double

Property Value

TypeDescription
Double

An integer value that specifies the zoom percentage of the displayed image. The default is 100.

|

Remarks

If the RepositoryItemPictureEdit.SizeMode property is set to Clip , the ZoomPercent property allows you to change the image scale in code. When the ZoomPercent property value changes, the RepositoryItemPictureEdit.ZoomPercentChanged event fires.

An end-user can change the image scale using the zoom sub-menu, mouse and keyboard. See RepositoryItemPictureEdit.ShowZoomSubMenu to learn more.

See Also

ZoomPercentChanged

ShowZoomSubMenu

ZoomAcceleration

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace