Back to Devexpress

DocumentPreviewControl.CanSelectPageByClick Property

wpf-devexpress-dot-xpf-dot-printing-dot-documentpreviewcontrol-fc371339.md

latest1.4 KB
Original Source

DocumentPreviewControl.CanSelectPageByClick Property

Allows you not to scroll to the top of the page when you click an unselected page.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public bool CanSelectPageByClick { get; set; }
vb
Public Property CanSelectPageByClick As Boolean

Property Value

TypeDescription
Boolean

True - to automatically scroll the page to the top when the user clicks the page; false - to disable automatic scrolling when the user clicks the page.

|

Remarks

Set the CanSelectPageByClick' property tofalse’ so that the scroll position does not change automatically when the user clicks on a page.

See Also

DocumentPreviewControl Class

DocumentPreviewControl Members

DevExpress.Xpf.Printing Namespace