async Task InitializeComponents() { Data["TopMenu"] = "MainMenu"; Title = "Page 1"; await Body.Add(ContactsList = new Modules.ContactsList { Id = "ContactsList" }); }
protected override async Task InitializeFromMarkup() { await base.InitializeFromMarkup(); Data["TopMenu"] = "MainMenu"; Title = "Page 1"; Body.Add(ContactsList = new Modules.ContactsList { Id = "ContactsList" }); return(Task.CompletedTask); }