C# Class SumoNinjaMonkey.Framework.Controls.NotificationView

Inheritance: Windows.UI.Xaml.Controls.UserControl
显示文件 Open project: liquidboy/X Class Usage Examples

Public Properties

Property Type Description
CountdownBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
MessageTextForegroundColorProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Hide ( ) : void
NotificationView ( string msg, string title, bool autoHide, double timeToLive, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0 ) : System
Show ( ) : void

Private Methods

Method Description
CountdownBackgroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
LoadImage ( string imageUrl ) : void
LoadMetroIcon ( string key, Brush iconColor = null, double rotation, double scaleIcon = 1 ) : void
MessageTextForegroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void

Method Details

Hide() public method

public Hide ( ) : void
return void

NotificationView() public method

public NotificationView ( string msg, string title, bool autoHide, double timeToLive, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0 ) : System
msg string
title string
autoHide bool
timeToLive double
metroIcon string
imageIcon string
scaleIcon double
return System

Show() public method

public Show ( ) : void
return void

Property Details

CountdownBackgroundColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CountdownBackgroundColorProperty
return Windows.UI.Xaml.DependencyProperty

MessageTextForegroundColorProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MessageTextForegroundColorProperty
return Windows.UI.Xaml.DependencyProperty