Approved
Last Updated: 19 Jun 2017 11:15 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 13 Jun 2017 11:24
Category: PdfViewer
Type: Bug Report
1
FIX. RadPdfViewerNavigator - overflow button is not visible when its Visibility is set in the ItemOverflowed event
Please refer to the attached gif file and sample project. When you hide the overflow button with the first pixel, although it is indicated as Visible, it is actually not shown.

Workaround: Timer timer = new Timer();

private void commandBarStrip_ItemOverflowed(object sender, EventArgs e)
{
    timer.Interval = 100;
    timer.Tick += timer_Tick;
    timer.Start();

}

private void timer_Tick(object sender, EventArgs e)
{
    timer.Tick -= timer_Tick;
    var commandBarStrip = this.radPdfViewerNavigator1.CommandBarElement.Rows[0].Strips[0];
    commandBarStrip.OverflowButton.Visibility = ElementVisibility.Visible;
    timer.Stop();
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments