Having this code:
private void CreatedContent(object sender, ContentEventArgs e)
{
var a = e.Content is ArticlePage;
if (a) {
...
}
}
While debugging it goes twice returning "a = true" at first and "a = false" at second.
Why could possibly it be happening?
Eventually, code under "if" never gets executed.