Class AppModel

Global App model for the application. Holds references to top level components like the Window, configuration and more as well as includes a number of helper functions.

Available to Addins as this.Model.

System.Object
  MarkdownMonster.AppModel
public class AppModel : object, INotifyPropertyChanged

Class Members

MemberDescription

Constructor

PropertyChanged

OnPropertyChanged

public virtual void OnPropertyChanged(string propertyName)

ActiveDocument

Returns the MarkdownDocument instance of the active editor

ActiveEditor

Returns an instance of the Active Editor instance. The editor contains editor behavior of the browser control as well as all interactions with the editor's event model and text selection interfaces.

Contains an AceEditor property that references the underlying JavaScript editor wrapper instance.

Commands

Commands

Configuration

The application's main configuration object

DocumentTypes

EditorThemeNames

A list of Ace Editor themes retrieved from the Editor script folder

IsEditorActive

Determines if there's a document loaded

IsEditorFocused

Determines whether the editor currently has focus

IsExternalPreview

Determines whether the preview is shown in an Exteranl Browser Window

IsFullScreen

IsInternalPreview

Determines whether the preview is shown in the Internal Preview Pane

IsNoTabOpen

IsPresentationMode

IsPreviewBrowserVisible

Determines whether the preview browser is visible or not

IsTabOpen

Determines whether there are open tabs

MarkdownParserColumnWidth

Returns the width of the column containing the Markdown Parser selection combo box

MarkdownParserNames

List of registered Markdown Parsers

OpenDocuments

Gives a list of all the open documents as Markdown document instances

PreviewSyncModeItems

PreviewThemeNames

A list of PreviewThemes as retrieved based on the folder structure of hte Preview folder.

Window

An instance of the main application WPF form

WindowLayout

Contains Main Window layout settings and functionality

Requirements

Namespace: MarkdownMonster
Assembly: markdownmonster.exe

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