Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1165
Icon In Grid Print Preview Window
posted

Is it possible to change the icon in the preview window when using the grid.PrintPreview method?

  • 71886
    Offline posted

    Hello,

    You could try a code like the following in order to achieve this:

    private void ultraGrid1_InitializePrintPreview(object sender, Infragistics.Win.UltraWinGrid.CancelablePrintPreviewEventArgs e)

    {

     e.PrintPreviewSettings.DialogIcon = new Icon("..//..//Globe.ico");

    }

    Please do not hesitate to contact us if you need any additional assistance.