protected override void OnApplyTemplate() { Title = GetTemplateChild(nameof(Title)) as Run; Description = GetTemplateChild(nameof(Description)) as Run; Footer = GetTemplateChild(nameof(Footer)) as InvoiceFooter; _templateApplied = true; if (_message != null) { UpdateMessage(_message); } }
protected override void OnApplyTemplate() { Title = GetTemplateChild(nameof(Title)) as TextBlock; Description = GetTemplateChild(nameof(Description)) as TextBlock; Footer = GetTemplateChild(nameof(Footer)) as InvoiceFooter; Photo = GetTemplateChild(nameof(Photo)) as AspectView; Texture = GetTemplateChild(nameof(Texture)) as Image; _templateApplied = true; if (_message != null) { UpdateMessage(_message); } }