Created
November 8, 2016 12:18
-
-
Save mrlacey/69465b3297726abbd0635e00bb95a5a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Windows.UI.Xaml.Controls; | |
namespace OnlyIn | |
{ | |
public class DebugBuild : ContentControl | |
{ | |
protected override void OnApplyTemplate() | |
{ | |
base.OnApplyTemplate(); | |
#if !DEBUG | |
this.Content = null; | |
#endif | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment