Skip to content
This repository was archived by the owner on Aug 1, 2019. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.24 KB

Contacts chooser

Contact chooser for Windows Phone platform. (Like control in native email application)

This control is fully customizable via template bindings and styling.

###Usage:

<controls2:ContactsChooser x:Name="chooser" 
                                   Grid.Row="1"
                                   Margin="0,24,0,0"
                                   HeaderText="Partipants"
                                   ItemsSource="{Binding InvitedUsers}"
                                   PopupBackground="Transparent"
                                   PopupBorderBrush="Transparent"
                                   SearchCommand="{Binding SearchCommand}"
                                   SearchItemsSource="{Binding SearchedUsers}">

Where ItemsSource is already selected contacts, SearchItemsSource is collection that used when serching command is compled for showing available contacts for selecting. SearchCommand is ICommand for searching implementaion. You can use it for searching via web-service for example.

See Sample project for more information.

###Known Issue:

DataContext for this control should be set when Page.Loaded event fired. If it's problem I'll fix it.