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.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

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