Skip to main content

RepositoryItemPictureEdit.ZoomPercent Property

Gets or sets the zoom percentage of the displayed image.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public double ZoomPercent { get; set; }

Property Value

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