Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建类似于下图的联系人列表,以及滚动联系人列表时出现的字母指示。
请帮助我如何执行此操作或任何参考链接。
你可以这样做:
Contacts contacts = new Contacts(); contacts.SearchCompleted += new EventHandler<ContactsSearchEventArgs>(contacts_SearchCompleted); contacts.SearchAsync(String.Empty, FilterKind.DisplayName,null);
然后你可以访问联系人的属性来得到你想要的