ContactPanel
ContactPanel
ContactPanel
ContactPanel
Class
Definition
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// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
The Contact Panel appears when users click a contact that is pinned to the taskbar.
Properties
HeaderColor 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>// You can use this property in JavaScript.
- Value
- IReference<Color> Nullable<Color> Nullable<Color> Nullable<Color>
A Color that represents the desired color.
Remarks
Color takes effect only when the app is the active tab. If you don’t set this property, the system chooses the color.
Methods
Events
Closing Closing Closing Closing
Occurs when the Contact Panel is closing.
public : event TypedEventHandler Closing<ContactPanel, ContactPanelClosingEventArgs>public event TypedEventHandler Closing<ContactPanel, ContactPanelClosingEventArgs>Public Event Closing<ContactPanel, ContactPanelClosingEventArgs>// You can use this event in JavaScript.
- See Also
LaunchFullAppRequested LaunchFullAppRequested LaunchFullAppRequested LaunchFullAppRequested
Occurs when the user clicks the Launch Full App button in the Contact Panel.
public : event TypedEventHandler LaunchFullAppRequested<ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs>public event TypedEventHandler LaunchFullAppRequested<ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs>Public Event LaunchFullAppRequested<ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs>// You can use this event in JavaScript.
Remarks
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.