MyStatusArea Control
Use the MyStatusArea control in Microsoft Lync 2010 Control applications to display the note string, an availability icon/photo, a textblock with the user’s name, and a textblock with the user’s location. It also displays the MyNoteBox and MyPresenceChooser controls together. To display these in separate locations, use MyNoteBox and MyPresenceChooser as separate controls. Clicking the presence status box displays a list of presence options, for example “Be Right Back”. The user can change their presence by selecting one of these. The user can change their note string by typing in new text and pressing the Enter key.
Members
Notable MyStatusArea control public properties that are related to unified communications appear in the following table. For more information, see Lync 2010 Class Libraries References.
Property |
Description |
---|---|
Gets the display name of the currently logged in user. |
|
Gets a string that shows the location of the currently signed in user. |
|
Reserved for internal use. This property may appear in XAML text when editing templates. To preserve control functionality it should remain unchanged. |
|
Gets an enumeration value that represents the contact’s availability. The type is a ContactAvailability enumeration. Possible values:
|
|
Gets a string that shows the content of the note box for the signed-in user. |
|
Gets or sets an enumeration value that determines the presence photo display mode. The type is a PhotoDisplayMode enumeration. Possible values:
|
Code Example
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
<StackPanel>
<controls:MyStatusArea PhotoDisplayMode=”Small”/>
</StackPanel>