C#C
C#3y ago
Pjamaica

Reference base in different project/dll

I want to pass "base" to a function in a different dll but I can't seem to find the correct syntax.
I have tried with (Application base) but can't access CreateWindow

namespace NameOfApp
{
    public partial class App : Application
    {
        public App()
        {
            InitializeComponent();
            MainPage = new AppShell();
        }

        protected override Window CreateWindow(IActivationState activationState)
        {
            //this should be handled by the other DLL
             var window = base.CreateWindow(activationState);
            //

           return DifferentDLL.SetCustomSize(base);
        }
}
}
Was this page helpful?