Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemPictureEdit.ZoomPercent Property

Gets or sets the zoom percentage of the displayed image.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.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