ToastActionsSnoozeAndDismiss.ContextMenuItems Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets custom context menu items, providing additional actions when the user right clicks the Toast notification. You can only have up to 5 items. New in Anniversary Update
C#
public System.Collections.Generic.IList<Microsoft.Toolkit.Uwp.Notifications.ToastContextMenuItem> ContextMenuItems { get; }
member this.ContextMenuItems : System.Collections.Generic.IList<Microsoft.Toolkit.Uwp.Notifications.ToastContextMenuItem>
Public ReadOnly Property ContextMenuItems As IList(Of ToastContextMenuItem)
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |