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
205
Custom Window Icon and titlebar color for fieldchooser
posted

I would like to change the titlebar and window icon for the fieldchooser.  How do I do that?

  • 69686
    posted

    Hello,

    You can change the title of the FieldChooser's ToolWindow by handling the FieldChooserOpening event and getting the ToolWindow like this:

    void xamDataGrid1_FieldChooserOpening(object sender, Infragistics.Windows.DataPresenter.Events.FieldChooserOpeningEventArgs e)

            {

                ToolWindow tw = e.ToolWindow;

                tw.Title = "Custom Title!";

            }

    However, I am not sure which icon you want to change ? The one in the HeaderPrefixArea?