Class ViewModelBase
Inheritance
System.Object
ViewModelBase
Assembly: pdftron.PDF.Tools.dll
public abstract class ViewModelBase : INotifyPropertyChanged
Methods
This will make the view model go back if applicable. Override this on ViewModels.
Declaration
public virtual bool GoBack()
Returns
Type |
Description |
System.Boolean |
True if the view model performed a backward navigation step, false otherwise
|
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Declaration
protected bool Set<T>(ref T field, T newValue = null, string propertyName = null)
Parameters
Type |
Name |
Description |
T |
field |
|
T |
newValue |
|
System.String |
propertyName |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|