Completed
Last Updated: 19 Jun 2017 12:31 by ADMIN
ADMIN
Ralitsa
Created on: 08 May 2017 07:21
Category: PageView
Type: Bug Report
1
FIX. RadPageView - SelectedPageChanging/SelectedPageChanged events are fired multiple times on high DPI
Steps to reproduce: 
1. Set the main screen on 125-percent scale
2. Run attached sample application (1107416 RadPageView Issue.zip). 
3. Click menu item "ShowPageView". After showing the page view in a DocumentWindow, the SelectedPageChanging/SelectedPageChanged events are fired twice. 

Workaround: 
Replace RadPageView with custom one: 
public class CustomPageView : RadPageView
{
    protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
    {
        this.SuspendEvents();
        base.ScaleControl(factor, specified);
        this.ResumeEvents();
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments