Unplanned
Last Updated: 14 Aug 2017 12:27 by ADMIN
ADMIN
Hristo
Created on: 07 Jul 2017 07:49
Category: BindingNavigator
Type: Bug Report
2
FIX. RadBindingNavigator - the images on the buttons are not scaled properly on systems with a high DPI
Workaround: use bigger images
public partial class Form2 : RadForm
{
    public Form2()
    {
        InitializeComponent();
    }

    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);

        this.radBindingNavigator1.BindingNavigatorElement.MovePreviousItemButtonImage = Image.FromFile("MovePreviousItemButtonImage.png");
        this.radBindingNavigator1.BindingNavigatorElement.MoveFirstItemButtonImage = Image.FromFile("MoveFirstItemButtonImage.png"); ;
        this.radBindingNavigator1.BindingNavigatorElement.MoveNextItemButtonImage = Image.FromFile("MoveNextItemButtonImage.png");
        this.radBindingNavigator1.BindingNavigatorElement.MoveLastItemButtonImage = Image.FromFile("MoveLastItemButtonImage.png");
        this.radBindingNavigator1.BindingNavigatorElement.AddNewButtonImage = Image.FromFile("AddNewButtonImage.png");
        this.radBindingNavigator1.BindingNavigatorElement.DeleteButtonImage = Image.FromFile("DeleteButtonImage.png");
    }
}
0 comments