다음을 통해 공유


MyStatusArea Class

The MyStatusArea control displays the note string, an availability icon/photo, a textblock with the user's name, and a textblock with the user's location.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.UCBase
            Microsoft.Lync.Controls.SelfBase
              Microsoft.Lync.Controls.MyStatusArea

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)

Syntax

'Declaration
<TemplateVisualStateAttribute(Name := "PhotoSmall", GroupName := "PhotoModeStates")> _
<TemplateVisualStateAttribute(Name := "PhotoLarge", GroupName := "PhotoModeStates")> _
<TemplateVisualStateAttribute(Name := "PhotoHidden", GroupName := "PhotoModeStates")> _
Public Class MyStatusArea _
    Inherits SelfBase
'Usage
Dim instance As MyStatusArea
[TemplateVisualStateAttribute(Name = "PhotoSmall", GroupName = "PhotoModeStates")]
[TemplateVisualStateAttribute(Name = "PhotoLarge", GroupName = "PhotoModeStates")]
[TemplateVisualStateAttribute(Name = "PhotoHidden", GroupName = "PhotoModeStates")]
public class MyStatusArea : SelfBase

Remarks

The MyStatusArea control also displays the MyStatusArea 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. Separately, the MyPresenceChooser and MyNoteBox controls provide similar functionality, for applications where a customized layout is necessary.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MyStatusArea Members

Microsoft.Lync.Controls Namespace