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
605
XamMaskedEditor Leak Memory problem Workaround
posted

i faced an issue related to XamMaskedEditor control that preventing hosted window or view to be released and garbage collected.

i also create a support ticket with this problem but till infragistics team reply on me i tried to solve this issue and i found workaround to this issue and it works.

what i do is wrapping XamMaskedEditor control in any container control like panel, stack panel.....etc, and when i need to close my window or view for ex. Close Event, ViewClosing Event..... remove this panel children that means removing XamMaskedEditor control.

MyWindow.panelXamMasked.Children.Remove(MyWindow.XamMaskedEditorControl);

Parents
No Data
Reply
  • 4475
    posted

    Hello ueldeep,

     

    I am very glad you have provided this info for the forum community.

     

    I am sure it will be helpful for many forum members.

     

    Thank you for choosing Infragistics components.

     

    Sincerely,

    Ekaterina

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

     

Children
No Data