I want to show Components in a tabs , so first of all create few components. In this project we have three components, First View Component public class AllViewComponent : ViewComponent { private readonly UserManager<ApplicationUser> _userManager; public AllViewComponent(UserManager<ApplicationUser> userManager) { _userManager = userManager; } public async Task<IViewComponentResult> InvokeAsync() { List<StudentViewModel> allUsers = new List<StudentViewModel>(); var items = await _userManager.Users.ToListAsync(); foreach (var item in items) { allUsers.Add(new StudentViewModel {Id=item.Id, EnrollmentNo = item.EnrollmentNo, FatherName = item.FatherName, Name = item.Name, Age = item.Age, Birthdate = item.Birthdate, Address = item.Address, Gender = item.Gender, Email = item.Email }); }
Chapter-1 : Getting Stated with Hello World !
1.1 Getting Started With Windows Store App with video example
1.2 How to modify the start page
1.3 How to change theme of page
Chapter-2 : Tool Box Control With Example
2.1 How to use HyperlinkButton Control in Windows Store App2.2 Use of ComboBox in windows Store App
2.3 Selected Change Event of ComboBox
2.4 Image Control in windows store app
2.5 Bind Image in code file
2.6 CheckBox control
Comments
Post a Comment