Class MainWindowLayoutModel

Class that manages the display of the center panel of panes in the Main Window

System.Object
  MarkdownMonster.Windows.MainWindowLayoutModel
public class MainWindowLayoutModel : object, INotifyPropertyChanged

Class Members

MemberDescription

Constructor

PropertyChanged

FixUpEditorSize

Fixes Preview Pane sizing when the editor size reaches 0 to avoid preview oversizing which corrupts the Window borders. Call this whenever the window or editor is resized and the preview has to be adjusted.

Very hacky but required to force the editor to use non-STAR sizing to avoid negative sizing of the splitter pane.

public void FixUpEditorSize()

OnPropertyChanged

public virtual void OnPropertyChanged(string propertyName)

SetDistractionFreeMode

public Task SetDistractionFreeMode(bool hide)

SetPresentationMode

public Task SetPresentationMode(bool hide)

ConsoleText

EditorWidth

IsConsolePanelVisible

IsEditorOpen

IsLeftSidebarVisible

IsPreviewVisible

IsRightSidebarVisible

LeftSidebarSeparatorWidth

LeftSidebarWidth

PreviewSeparatorWidth

PreviewWidth

RightSidebarSeparatorWidth

RightSidebarWidth

Requirements

Namespace: MarkdownMonster.Windows
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic