Page 1 of 1

The access modifier of FrameworkElement::OnApplyTemplate in NoesisGUI is different from System.Windows

Posted: 23 Nov 2021, 07:39
by sericaer
In NoesisGUI the access modifier of FrameworkElement::OnApplyTemplate is 'protected', but in System.Windows, it is 'public'.
I need add a Macros to override this method, this is so urgly.
#if NOESIS 
        protected override void OnApplyTemplate()
#else
        public override void OnApplyTemplate()
#endif
       {
            ... ...
       }

Re: The access modifier of FrameworkElement::OnApplyTemplate in NoesisGUI is different from System.Windows

Posted: 23 Nov 2021, 10:17
by sfernandez
That was a typo, thanks for reporting it. I created a ticket to fix it for next release: #2199