using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Future.Contract
{
///
/// 为气泡提示窗口提供辅助扩展类
///
public static partial class FutureHelper
{
///
/// 显示一个纯文本气泡提示
///
/// 提示信息
/// 焦点丢失关闭功能的辅助器定位位置
/// 自动关闭延时
/// 是否自动关闭
public static void ShowBubble(this string infoContent, FrameworkElement placement = null, int delayTime = 1, bool autoClose = true) => BubbleWindow.ShowBubble(infoContent, placement, delayTime, autoClose);
///
/// 显示一个UI元素气泡提示
///
/// 提示信息
/// 焦点丢失关闭功能的辅助器定位位置
/// 自动关闭延时
/// 是否自动关闭
public static void ShowBubble(this UIElement infoContent, FrameworkElement placement = null, int delayTime = 1, bool autoClose = true) => BubbleWindow.ShowBubble(infoContent, placement, delayTime, autoClose);
}
}