sericaer
Topic Author
Posts: 10
Joined: 09 Oct 2021, 09:29

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

23 Nov 2021, 07:39

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
       {
            ... ...
       }

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 2422
Joined: 22 Dec 2011, 19:20

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

23 Nov 2021, 10:17

That was a typo, thanks for reporting it. I created a ticket to fix it for next release: #2199

Who is online

Users browsing this forum: Google [Bot] and 2 guests