C# 클래스 Plugin.Toasts.DefaultToastLayoutRenderer

상속: IToastLayoutCustomRenderer
파일 보기 프로젝트 열기: adamped/Toasts.Forms.Plugin

공개 메소드들

메소드 설명
DefaultToastLayoutRenderer ( BitmapImage>.Func iconForCustomTypeResolver = null, Brush>.Func backgroundForCustomTypeResolver = null ) : System
Render ( ToastNotificationType type, string title, string description, object context, Brush &brush ) : UIElement

비공개 메소드들

메소드 설명
LoadBitmapImage ( string fileName ) : BitmapImage

메소드 상세

DefaultToastLayoutRenderer() 공개 메소드

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
리턴 System

Render() 공개 메소드

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
리턴 UIElement