Edit

Share via


ToastContentBuilder.AddVisualChild(IToastBindingGenericChild) Method

Definition

Add a visual element to the toast.

public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddVisualChild (Microsoft.Toolkit.Uwp.Notifications.IToastBindingGenericChild child);
member this.AddVisualChild : Microsoft.Toolkit.Uwp.Notifications.IToastBindingGenericChild -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddVisualChild (child As IToastBindingGenericChild) As ToastContentBuilder

Parameters

child
IToastBindingGenericChild

An instance of a class that implement IToastBindingGenericChild.

Returns

The current instance of ToastContentBuilder

Applies to