Friday, June 11, 2010

Communicator “14” Silverlight controls

Creating a Silverlight app with presence using the communicator “14”client, is really as easy as can be.

After installing the SDK in Visual Studio 2010 you get a new project type.
CaptureSL1 Then you can create a silverlight 3 or 4 application.
Capturesl2 Your newly created project has a sample page with all the controls.
CaptureSL4

The Controls

in the toolbar there is a new section with the available controls.
Capturesl3 
Everyone who has already seen the new Communicator “14” will see that the controls look really similar almost identical as the new Communicator ”14” Client

ContactCard

CaptureSLContact 
xaml
<controls:ContactCard Source="joachim.farla@e-office.com" />

ContactsList

CaptureSLContacts xaml
<controls:ContactsList Height="294" Width="600"/>

CustomContactsList and CustomContactsListitem

CaptureSLCustomContacts 
xaml
<controls:CustomContactsList Height="94" Width="297">
    <controls:CustomContactsListItem Source="Marc.Wetters@e-office.com" />
    <controls:CustomContactsListItem Source="Joachim.Farla@e-office.com" />
</controls:CustomContactsList>

PresenceAvailabilityIndicator

CaptureSLPresence 
xaml
<controls:PresenceAvailabilityIndicator
     x:Name="Presence"
     Source="marc.wetters@e-office.com"
     Margin="10,0" />
<TextBlock
     Text="{Binding DisplayName, ElementName=Presence}"
     Margin="10,0,0,0"/>

SearchInput

CaptureSLSearch xaml
 <controls:SearchInput x:Name="SearchTextbox" Width="500"/>

SearchResults

CaptureSLSearchresult1

CaptureSLsearchresult2

xaml
<controls:SearchResults Width="500" Height="200"
    ResultsSource="{Binding Results, ElementName=SearchTextbox}"
    ResultsState="{Binding SearchState, ElementName=SearchTextbox}" />

StartAudioConcersation

CaptureSLaudio

xaml
<controls:StartAudioConversation Source="joachim.farla@e-office.com" />

StartInstantMessagingConversation

CaptureSLmessaging

xaml
<controls:StartInstantMessagingConversation Source="joachim.farla@e-office.com" />

Hope this gives a good overview of the available silverlight controls. Next to these controls

1 comment:

Unknown said...

Great to see this sample about Silverlight controls. thanks for sharing .

working at e-office