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
1325
FieldPositionChanged isn't fired
posted

When setting field visibility in code like this:

FieldLayouts[0].Fields["FieldName"].Visibility = Visibility.Collapsed;

FieldPositionChanged event isn't fired. When changing field visibility by using FieldChooser everything is OK.

  • 27093
    posted

    Hi Anton,

     

    It turns out this is the expected behavior for code execution following the Windows Forms pattern assuming that the developer can would know when this is executed and can respond accordingly. I can suggest simply calling the EventHandler method on your own right after you modify the FieldPosition or add a similar logic right after it.

     

    Hope this makes things clearer. 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

     

  • 27093
    posted

    Hello Anton,

     

    I have been further investigating your issue and have logged this with our development with ID: 59276. I have also created a support ticket (CAS-55987-2LQKRW) on your behalf in order to link the two together and you get automatically updated when a fix is available for downloading on our website.

     

    Please let me know if I can be of any further assistance.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

     

  • 27093
    posted

    Hello,

     

    I have been looking into your issue and was able to reproduce the behavior you have described. I am going to forward it to our development team and get back to you as soon as I have a reply from them.

     

    Thank you for pointing this out to us. I’ll update you shortly on our progress.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support