I have create a custom ContentPage that acts as a base page for the majority of the pages in the app.
I have create a property called IsDebug, so that any pages that is based on this content page can simply change the IsDebug to true and it will turn on the debug rainbow.
Hi,
I have create a custom ContentPage that acts as a base page for the majority of the pages in the app. I have create a property called IsDebug, so that any pages that is based on this content page can simply change the IsDebug to true and it will turn on the debug rainbow.
In the BasePage I have this - Xaml -
Code behind -
Issue is im not sure how to set the value of
rainbows:DebugRainbow.IsDebug="False"
from the code behind.