コード例 #1
0
        async Task InitializeComponents()
        {
            Data["TopMenu"] = "MainMenu";
            Title           = "Page 1";

            await Body.Add(ContactsList = new Modules.ContactsList {
                Id = "ContactsList"
            });
        }
コード例 #2
0
        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);
        }