AppModel Class
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.
MarkdownMonster.AppModel
Class Members
| Member | Description | |
|---|---|---|
| Constructor | ||
| OnPropertyChanged |
public 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… | |
| ActiveEditorTabItem | Gets the Active Tab Item instance. (obsolete) Also used to minimize flash when activating a new tab by first hiding the old tab, before showing the new one. | |
| ActiveProject | ||
| ActiveTabFilename | Returns the active Tab's file name - this can either be the name of a Markdown Document editor or just a filename or URL from a preview tab. | |
| Commands | Commands | |
| Configuration | The application's main configuration object | |
| Console | ||
| DocumentTypes | ||
| EditorThemeNames | A list of Ace Editor themes retrieved from the Editor script folder | |
| EncodingTypes | Encodings for the Encoding drop down | |
| FontAwesomeRegularFontFamily | Fontawesome FontFamily to bind for PreviewModes | |
| IsDebugMode | Determines whether the application is compiled in Debug Mode Provided here mainly as an aid for turning on and off debugging menu and UI options. | |
| 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 | |
| IsPreviewZoomEnabled | ||
| 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 | |
| OpenEditors | Returns a list of open editor instances inside of open tabs | |
| PreviewSyncModeItems | ||
| PreviewThemeNames | A list of PreviewThemes as retrieved based on the folder structure of hte Preview folder. | |
| SelectedEditor | The selected editor that is set by Tab Navigation. This is a low level routine that just retrieves the editor. Use ActiveEditor which calls this property, for most common operations as that also… | |
| Window | An instance of the main application WPF form | |
| WindowLayout | Contains Main Window layout settings and functionality | |
Assembly: MarkdownMonster.dll
