Contact​Panel Contact​Panel Contact​Panel Class


Represents a Contact Panel that appears when users click a contact that is pinned to the taskbar.

public : sealed class ContactPanel : IContactPanelpublic sealed class ContactPanel : IContactPanelPublic NotInheritable Class ContactPanel Implements IContactPanel
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


The Contact Panel appears when users click a contact that is pinned to the taskbar.


HeaderColor HeaderColor HeaderColor

Specifies the color of the Contact Panel header.

public : IReference<Color> HeaderColor { get; set; }public Nullable<Color> HeaderColor { get; set; }Public ReadWrite Property HeaderColor As Nullable<Color>
IReference<Color> Nullable<Color> Nullable<Color>

A Color that represents the desired color.



Color takes effect only when the app is the active tab. If you don’t set this property, the system chooses the color.


ClosePanel() ClosePanel() ClosePanel()

Closes the Contact Panel.

public : void ClosePanel()public void ClosePanel()Public Function ClosePanel() As void


This method must be called from the main UI thread.

See Also


Closing Closing Closing

Occurs when the Contact Panel is closing.

public : event TypedEventHandler Closingpublic event TypedEventHandler ClosingPublic Event Closing
See Also

LaunchFullAppRequested LaunchFullAppRequested LaunchFullAppRequested

Occurs when the user clicks the Launch Full App button in the Contact Panel.

public : event TypedEventHandler LaunchFullAppRequestedpublic event TypedEventHandler LaunchFullAppRequestedPublic Event LaunchFullAppRequested


Handle this event to provide your users with a smoother experience. For example, your app could handle this event to ensure that the full app continues playing a video that users start in the Contact Panel, or open a message that users started reading in the Contact Panel. If you don’t handle this event, or if you handle this event, but you don’t set the Handled property of the ContactPanelLaunchFullAppRequestedEventArgs property to true, your app starts in it’s default state.