C# Class Plugin.Toasts.DefaultToastLayoutRenderer

Inheritance: IToastLayoutCustomRenderer
Afficher le fichier Open project: adamped/Toasts.Forms.Plugin

Méthodes publiques

Méthode Description
DefaultToastLayoutRenderer ( BitmapImage>.Func iconForCustomTypeResolver = null, Brush>.Func backgroundForCustomTypeResolver = null ) : System
Render ( ToastNotificationType type, string title, string description, object context, Brush &brush ) : UIElement

Private Methods

Méthode Description
LoadBitmapImage ( string fileName ) : BitmapImage

Method Details

DefaultToastLayoutRenderer() public méthode

public DefaultToastLayoutRenderer ( BitmapImage>.Func iconForCustomTypeResolver = null, Brush>.Func backgroundForCustomTypeResolver = null ) : System
iconForCustomTypeResolver BitmapImage>.Func resolves a bitmapImage for ToastNotificationType.Custom type. object - is a context passed to Notify
backgroundForCustomTypeResolver Brush>.Func resolves a background brush for ToastNotificationType.Custom type. object - is a context passed to Notify
Résultat System

Render() public méthode

public Render ( ToastNotificationType type, string title, string description, object context, Brush &brush ) : UIElement
type ToastNotificationType
title string
description string
context object
brush Windows.UI.Xaml.Media.Brush
Résultat UIElement