C# 클래스 MarkDownEditor.ViewModel.MainViewModel

This class contains properties that the main View can data bind to.

Use the mvvminpc snippet to add bindable properties to this ViewModel.

You can also use Blend to data bind with the tool's support.

See http://www.galasoft.ch/mvvm

상속: ViewModelBase
파일 보기 프로젝트 열기: chenguanzhou/MarkDownEditor

공개 프로퍼티들

프로퍼티 타입 설명
documentPath string
documentTitle string
isBrowserInitialized bool
isModified bool
isReadingMode bool
isSynchronize bool
previewWidth string
scrollToSelectionStart bool
shouldReload bool
showPreview bool
sourceCodeWidth string

공개 메소드들

메소드 설명
Cleanup ( ) : void
MainViewModel ( ) : CefSharp

Initializes a new instance of the MainViewModel class.

RequestClosing ( ) : Task
UpdateCSSFiles ( ) : void

비공개 메소드들

메소드 설명
LoadDefaultDocument ( ) : void
Open ( string path ) : Task
OpenDoc ( string path = null ) : void
Save ( ) : bool
SaveDoc2File ( string path ) : void
ShowCustomCSSMessage ( ) : void
UpdatePreview ( ) : void

메소드 상세

Cleanup() 공개 메소드

public Cleanup ( ) : void
리턴 void

MainViewModel() 공개 메소드

Initializes a new instance of the MainViewModel class.
public MainViewModel ( ) : CefSharp
리턴 CefSharp

RequestClosing() 공개 메소드

public RequestClosing ( ) : Task
리턴 Task

UpdateCSSFiles() 공개 메소드

public UpdateCSSFiles ( ) : void
리턴 void

프로퍼티 상세

documentPath 공개적으로 프로퍼티

public string documentPath
리턴 string

documentTitle 공개적으로 프로퍼티

public string documentTitle
리턴 string

isBrowserInitialized 공개적으로 프로퍼티

public bool isBrowserInitialized
리턴 bool

isModified 공개적으로 프로퍼티

public bool isModified
리턴 bool

isReadingMode 공개적으로 프로퍼티

public bool isReadingMode
리턴 bool

isSynchronize 공개적으로 프로퍼티

public bool isSynchronize
리턴 bool

previewWidth 공개적으로 프로퍼티

public string previewWidth
리턴 string

scrollToSelectionStart 공개적으로 프로퍼티

public bool scrollToSelectionStart
리턴 bool

shouldReload 공개적으로 프로퍼티

public bool shouldReload
리턴 bool

showPreview 공개적으로 프로퍼티

public bool showPreview
리턴 bool

sourceCodeWidth 공개적으로 프로퍼티

public string sourceCodeWidth
리턴 string