다음을 통해 공유


ContactCard Class

The ContactCard control shows basic or detailed contact and organization information for contacts.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.UCBase
            Microsoft.Lync.Controls.ContactBase
              Microsoft.Lync.Controls.ContactCard

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

Syntax

'Declaration
<TemplatePartAttribute(Name := "PART_DetailsContainer", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "PART_NoteContainer", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "PART_ExpandDetailsToggleButton", Type := GetType(ToggleButton))> _
Public Class ContactCard _
    Inherits ContactBase
'Usage
Dim instance As ContactCard
[TemplatePartAttribute(Name = "PART_DetailsContainer", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "PART_NoteContainer", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "PART_ExpandDetailsToggleButton", Type = typeof(ToggleButton))]
public class ContactCard : ContactBase

Remarks

This control displays a contact card for a person or distribution group, specified by the property. The card can optionally be IsExpanded, to reveal a set of SelectedTabIndex which show detailed information about the contact. This control displays presence and availability of colleagues, and gives users the ability to start instant message sessions, voice calls, file transfers, application sharing sessions, or conference calls.

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

ContactCard Members

Microsoft.Lync.Controls Namespace