We recently built a set of WPF presence controls to use with Office Communicator 2007 applications.
The WPF presence controls are now available for download on MSDN.
We've used these controls in several WPF applications, including the Microsoft Office Communicator Vista Gadget project that we just published on CodePlex.
The MSDN download includes the complete source code of the presence controls, along with a sample application that shows the various ways of using them.
Note: The MSI installs the source code into a directory under C:\Program Files\ by default. Visual Studio doesn't seem to play nice with solutions that live there. Before attempting to compile the solution, I recommend moving the files to another location, and changing them so that they're not read-only.
Configurability / Extensibility
An important goal when building these controls was to expose their properties to the developer as configurable options. We wanted to ensure that the developer could tailor the use of the controls specifically to their application. All of these properties are exposed as WPF Dependency Properties.
Additionally, the controls are built in such a way so that a developer can use them as building blocks for other controls. We followed that mantra ourselves when building the controls, e.g. the PersonaList and MyPersona controls are built on top of the Persona control.
Presence Controls
The project includes three controls:
- Persona
- PersonalList
- MyPersona
Persona
The Persona control is used to display the presence and availability of a single user.
