C# Class withSIX.Play.Presentation.Wpf.Views.Controls.TrayNotificationBalloon

Inheritance: System.Windows.Controls.UserControl, IDisposable
Mostrar archivo Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Properties

Property Type Description
CloseNotificationCommandProperty System.Windows.DependencyProperty
MessageProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty

Public Methods

Method Description
Dispose ( ) : void
Setup ( string title, string message, TrayNotificationButtons tnb = TrayNotificationButtons.tnbNone, ICommand buttonCommands = null ) : void
SetupSelectedButtons ( TrayNotificationButtons tnb ) : void
TrayNotificationBalloon ( TrayIcon trayIcon ) : System
ValidateCommands ( TrayNotificationButtons tnb, ICommand buttonCommands ) : bool

Private Methods

Method Description
ButtonClick ( object sender, RoutedEventArgs e ) : void
OnCloseTimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
OnMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
SetMargin ( System.Windows.Controls.Button button, int left, int top ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Setup() public method

public Setup ( string title, string message, TrayNotificationButtons tnb = TrayNotificationButtons.tnbNone, ICommand buttonCommands = null ) : void
title string
message string
tnb TrayNotificationButtons
buttonCommands ICommand
return void

SetupSelectedButtons() public method

public SetupSelectedButtons ( TrayNotificationButtons tnb ) : void
tnb TrayNotificationButtons
return void

TrayNotificationBalloon() public method

public TrayNotificationBalloon ( TrayIcon trayIcon ) : System
trayIcon TrayIcon
return System

ValidateCommands() public method

public ValidateCommands ( TrayNotificationButtons tnb, ICommand buttonCommands ) : bool
tnb TrayNotificationButtons
buttonCommands ICommand
return bool

Property Details

CloseNotificationCommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseNotificationCommandProperty
return System.Windows.DependencyProperty

MessageProperty public_oe static_oe property

public static DependencyProperty,System.Windows MessageProperty
return System.Windows.DependencyProperty

TitleProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleProperty
return System.Windows.DependencyProperty