Search Results for

    Show / Hide Table of Contents

    Class ViewModel

    Base class recommended to use for view models across the application. Encapsulates implementations of INotifyPropertyChanged and INotifyDataErrorInfo.

    Inheritance
    Object
    ViewModelCommon
    ViewModel
    DialogViewModel
    MostRecentlyUsedFileItem
    MruManager
    Implements
    IViewModel
    IProgressReporter
    IViewModelCommon
    INotifyDataErrorInfo
    IProgressReporterCommon
    INotifyPropertyChanged
    Inherited Members
    ViewModelCommon.TrySetValue<TValue>(TValue, TValue, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, TValue, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, TValue, IEqualityComparer<TValue>, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValue<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, TValue, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, TValue, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, TValue, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, Func<TValue, (T1, T2)<Boolean, IEnumerable<Object>>>, TValue, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilent<TValue>(TValue, PropertyValidationDelegate<TValue>, TValue, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, Func<TValue, Task<(T1, T2)<Boolean, IEnumerable<Object>>>>, SetBackingFieldDelegate<TValue>, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, ViewModelCommon.SetValueOptions, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, IEqualityComparer<TValue>, String)
    ViewModelCommon.TrySetValueSilentAsync<TValue>(TValue, TValue, PropertyValidationDelegateAsync<TValue>, SetBackingFieldDelegate<TValue>, String)
    ViewModelCommon.IsValueValid<TValue>(TValue, PropertyValidationDelegate<TValue>, String)
    ViewModelCommon.IsValueValidAsync<TValue>(TValue, PropertyValidationDelegateAsync<TValue>, String)
    ViewModelCommon.IsPropertyAttributeValid<TValue>(TValue, String)
    ViewModelCommon.ClearErrors(String)
    ViewModelCommon.PropertyHasError(String)
    ViewModelCommon.GetPropertyErrors(String)
    ViewModelCommon.PropertyChanged
    ViewModelCommon.OnPropertyChanged(String)
    ViewModelCommon.OnPropertyChanged(Object, Object, String)
    ViewModelCommon.GetErrors(String)
    ViewModelCommon.HasErrors
    ViewModelCommon.ErrorsChanged
    ViewModelCommon.OnProgress(ProgressData)
    ViewModelCommon.EnableIndterminateMode
    ViewModelCommon.DisableIndterminateMode
    ViewModelCommon.CreateProgressReporterFromCurrentThread()
    ViewModelCommon.OnProgressChanged(Double, Double)
    ViewModelCommon.OnProgressChanged(Double, Double, String)
    ViewModelCommon.IsReportingProgress
    ViewModelCommon.IsIndeterminate
    ViewModelCommon.ProgressText
    ViewModelCommon.ProgressValue
    ViewModelCommon.ProgressChanged
    ViewModelCommon.PropertyValueChanged
    ViewModelCommon.OnErrorsChanged(String)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: BionicCode.Utilities.Net
    Assembly: BionicCode.Utilities.Net.Wpf.dll
    Syntax
    public abstract class ViewModel : ViewModelCommon, IViewModel, IProgressReporter, IViewModelCommon, INotifyDataErrorInfo, IProgressReporterCommon, INotifyPropertyChanged

    Methods

    | Improve this Doc View Source

    CreateProgressReporterFromUiThread()

    Creates a IProgress<T> instance that is associated with the caller's thread. The registered progress callback is the virtual OnProgress(ProgressData) member.

    Declaration
    public IProgress<ProgressData> CreateProgressReporterFromUiThread()
    Returns
    Type Description
    IProgress<ProgressData>

    A IProgress<T> instance that always posts progress to the UI thread.

    Remarks

    The returned IProgress<T> instance is associated with the application's primary dispatcher thread. Progress is always reported to the UI thread that is associated with the Dispatcher returned by Application.Current.Dispatcher.

    Implements

    IViewModel
    IProgressReporter
    IViewModelCommon
    INotifyDataErrorInfo
    IProgressReporterCommon
    INotifyPropertyChanged

    Extension Methods

    HelperExtensionsCommon.ToDictionary(Object)
    HelperExtensionsCommon.ToFlatDictionary(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX