I'm trying to port my application from Phone 7 and can't find the way to detect when control is in Design mode.
Got it - Windows.ApplicationModel.DesignMode.DesignModeEnabled
I am using this:
if (Microsoft.Devices.Environment.DeviceType == DeviceType.Emulator)
and this
_isInDesignMode
= Windows.ApplicationModel.DesignMode.DesignModeEnabled
to check the current developing situation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With