Table of Contents

Class MessageDialogWindow

Namespace
HeBianGu.Window.MessageDialog
Assembly
HeBianGu.Window.MessageDialog.dll

MessageWindow.xaml 的交互逻辑

public class MessageDialogWindow : DialogWindowBase, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDialogWindow, IWindowBase
Inheritance
MessageDialogWindow
Implements
Inherited Members
Extension Methods

Constructors

MessageDialogWindow()

public MessageDialogWindow()

Methods

ShowDialog(string, string, int, bool, params Tuple<string, Action<IDialogWindow>>[])

显示窗口

public static bool ShowDialog(string messge, string title = null, int closeTime = -1, bool showEffect = true, params Tuple<string, Action<IDialogWindow>>[] acts)

Parameters

messge string
title string
closeTime int
showEffect bool
acts Tuple<string, Action<IDialogWindow>>[]

Returns

bool

ShowDialog(string, Grid)

public static void ShowDialog(string message, Grid owner)

Parameters

message string
owner Grid

ShowDialogWith(string, string, bool, params Tuple<string, Action<IDialogWindow>>[])

显示窗口

public static int ShowDialogWith(string messge, string title = null, bool showEffect = false, params Tuple<string, Action<IDialogWindow>>[] acts)

Parameters

messge string
title string
showEffect bool
acts Tuple<string, Action<IDialogWindow>>[]

Returns

int

ShowSumit(string, string, bool, int)

public static bool ShowSumit(string messge, string title = null, bool showEffect = false, int closeTime = -1)

Parameters

messge string
title string
showEffect bool
closeTime int

Returns

bool