Back to Devexpress

RepositoryItemPictureEdit.AllowScrollViaMouseDrag Property

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

latest1.9 KB
Original Source

RepositoryItemPictureEdit.AllowScrollViaMouseDrag Property

Gets or sets whether an image can be scrolled by dragging it with the mouse. This feature is in effect when scroll bars are enabled via the RepositoryItemPictureEdit.ShowScrollBars property.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AllowScrollViaMouseDrag { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property AllowScrollViaMouseDrag As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if an image can be scrolled by dragging it with the mouse; otherwise, false.

|

Remarks

Note

Image scrolling and zooming is not supported for Metafile images.

See Also

ShowScrollBars

ZoomPercent

RepositoryItemPictureEdit Class

RepositoryItemPictureEdit Members

DevExpress.XtraEditors.Repository Namespace