Edit

Share via


MyStatusArea control

Core concepts

Learn about the properties of the Microsoft Lync 2013 MyStatusArea control.

Applies to: Lync 2013

In this article
Control overview
Members
Code example
Additional resources

Control overview

Use the MyStatusArea control in Microsoft Lync 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." Users can change their presence by selecting one of these. Users can also change their note string by typing in new text and pressing the Enter key.

MyStatusArea Control

Members

Notable MyStatusArea control public properties and events relating to unified communications appear in the following table. For a full list, see Lync 2013 class libraries reference.

Property or event

Description

DisplayName property

Gets the display name of the currently logged-in user.

Location property

Gets a string that shows the location of the currently signed-in user.

Model property

Reserved for internal use. This property might appear in XAML text when editing templates. To preserve control functionality, it should remain unchanged.

AvailabilityState property

Gets an enumeration value that represents the contact’s availability. The type is a ContactAvailability enumeration. Possible values:

  • Invalid

  • None

  • Free

  • FreeIdle

  • Busy

  • BusyIdle

  • DoNotDisturb

  • TemporarilyAway

  • Away

  • Offline

PersonalNote property

Gets a string that shows the content of the note box for the signed-in user.

PhotoDisplayMode property

Gets or sets an enumeration value that determines the presence photo display mode. The type is a PhotoDisplayMode enumeration. Possible values include:

  • Hidden

  • Large

  • Small

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>

See also