C# Class MarkDownEditor.ViewModel.FindReplaceViewModel

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

Inheritance: ViewModelBase
ファイルを表示 Open project: chenguanzhou/MarkDownEditor

Public Properties

Property Type Description
currentMatch int

Public Methods

Method Description
Cleanup ( ) : void
FindReplaceViewModel ( ) : GalaSoft.MvvmLight

Initializes a new instance of the MainViewModel class.

Private Methods

Method Description
ClearFindState ( ) : void
GetRegEx ( string textToFind ) : Regex
SourceCode_TextChanged ( object sender, EventArgs e ) : void
UpdateCommandsState ( ) : void

Method Details

Cleanup() public method

public Cleanup ( ) : void
return void

FindReplaceViewModel() public method

Initializes a new instance of the MainViewModel class.
public FindReplaceViewModel ( ) : GalaSoft.MvvmLight
return GalaSoft.MvvmLight

Property Details

currentMatch public_oe property

public int currentMatch
return int