using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Aitex.Core.UI.Dialog
{
///
/// NotificationDialogNoDelay.xaml 的交互逻辑
///
public partial class NotificationDialogNoDelay : Window
{
public NotificationDialogNoDelay()
{
InitializeComponent();
BannerColor = Brushes.DodgerBlue;
}
///
/// close current window
///
///
///
private void buttonOK_Click(object sender, RoutedEventArgs e)
{
Close();
}
///
/// Message title
///
public string MessageTitle
{
get
{
return _msgTitle.Text;
}
set
{
_msgTitle.Text = value;
}
}
///
/// Message content
///
public string MessageContent
{
get
{
return _msgContent.Text;
}
set
{
_msgContent.Text = value;
}
}
///
/// Banner color
///
public Brush BannerColor
{
get
{
return topGrid.Background;
}
set
{
topGrid.Background = value;
}
}
}
}