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
NuGet Package: DevExpress.Win.Navigation
Declaration
[DXCategory("Behavior")]
[DefaultValue(false)]
public bool AllowScrollViaMouseDrag { get; set; }
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowScrollViaMouseDrag property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.