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
120
Change Field Chooser Caption
posted

Hello,

how can I change caption "Field Chooser" on the top of the FieldChooser? THX.

  • 27093
    Verified Answer
    posted

    Hello,

    You can use the Utilities class to access the container window in the XamDataGrid's FieldChoosertOpening event like so:

    private void xamDataGrid1_FieldChooserOpening(object sender, FieldChooserOpeningEventArgs e)

    {

        ToolWindow window = Utilities.GetAncestorFromType(e.FieldChooser, typeof(ToolWindow), false) as ToolWindow;

        window.Title = "My Custom TITLE";

    }

    Please let me know if you require any further assistance on the matter.

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support