Class BrowserMessageBox

A generic Browser based message box with generic buttons that can be customized and added to display custom messages.

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        System.Windows.UIElement
          System.Windows.FrameworkElement
            System.Windows.Controls.Control
              System.Windows.Controls.ContentControl
                System.Windows.Window
                  MahApps.Metro.Controls.MetroWindow
                    MarkdownMonster.Windows.BrowserMessageBox
public class BrowserMessageBox : MetroWindow, IComponentConnector

Class Members

MemberDescription

Constructor

AddButton

public void AddButton(Button button,     string text,     ImageSource icon,     Colors color)

ClearButtons

public void ClearButtons()

InitializeComponent

InitializeComponent

public sealed void InitializeComponent()

Navigate

public void Navigate(string url)

NavigateAndWaitForCompletion

public bool NavigateAndWaitForCompletion(string url)

SetMessage

public void SetMessage(string messageText)

Show

public void Show()

ShowDialog

public bool? ShowDialog()

ShowHtml

public void ShowHtml(string html,     bool isFullHtmlDocument)

ShowMarkdown

public void ShowMarkdown(string markdown)

ButtonClickHandler

Provide a function that passes a control RoutedEventArgs and returns true if the form should close or false if it shouldn't.

ButtonResult

Hold the button that was clicked to close this form

HtmlTemplatePath

Default HTML template text used to render HTML If not specified the Preview Template is used for preview.

Should include the same template settings as Preview Templates

IsLoaded

Requirements

Namespace: MarkdownMonster.Windows
Assembly: markdownmonster.exe

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic