Export (0) Print
Expand All

WindowViewModel Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

public class WindowViewModel : ValidatingViewModelBase

The WindowViewModel type exposes the following members.

  NameDescription
Public propertyDialogResult
Public propertyDispatcherDispatcher associated with this object. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public propertyMessageBoxService (Inherited from ViewModelBase.)
Public propertyParentViewModel (Inherited from ViewModelBase.)
Public propertyUIHostService (Inherited from ViewModelBase.)
Public propertyValidationRulesA collection of validation rules. (Inherited from ValidatingViewModelBase.)
Public propertyWindowDisplayService (Inherited from ViewModelBase.)
Top

  NameDescription
Protected methodAddDependencySource(String, INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodAddDependencySource(String, INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCheckAccessBeginExecuteExecutes the specified action on a thread associated with object's dispatcher. This invokes a BeginInvoke on the Dispatcher, does not wait for the action to complete -- returns immediately. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCheckAccessExecute(Action)Executes the specified action on a thread associated with object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCheckAccessExecute<TResult>(Func<TResult>)Executes the specified action on a thread associated with object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetDependencySourceName(INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodGetDependencySourceName(INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetWaitCursor (Inherited from ViewModelBase.)
Public methodHasErrorsChecks if at least one validation rule is broken. (Inherited from ValidatingViewModelBase.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnWindowActivatedAllows Window.Activated hook
Protected methodOnWindowClosedAllows Window.Closed hook
Protected methodOnWindowClosingAllows Window.OnClosing hook
Protected methodOnWindowDeactivatedAllows Window.Deactivated hook
Protected methodOnWindowLoadedAllows Window.Loaded/UserControl.Loaded hook
Protected methodOnWindowUnloadedAllows Window.Unloaded/UserControl.Unloaded hook
Protected methodRaisePropertyChanged (Inherited from ViewModelBase.)
Protected methodReceiveWeakEvent (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodRegisterService (Inherited from ViewModelBase.)
Public methodRegisterServices (Inherited from ViewModelBase.)
Protected methodRemoveDependencySource(String, INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodRemoveDependencySource(String, INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodRequestClose
Public methodResolveService<TService>Resolves the service. (Inherited from ViewModelBase.)
Protected methodSetAndRaisePropertyChanged(Boolean, Boolean, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Boolean type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged(Int32, Int32, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Int32 type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged(String, String, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for string type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged<T>(T, T, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryResolveService(Type) (Inherited from ViewModelBase.)
Public methodTryResolveService<TService>() (Inherited from ViewModelBase.)
Public methodUnRegisterService (Inherited from ViewModelBase.)
Public methodUnRegisterServices (Inherited from ViewModelBase.)
Protected methodVerifyAccessEnforces that the calling thread has access to this object. (Inherited from NotifyPropertyChangedDispatcherObject.)
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes. (Inherited from NotifyPropertyChangedDispatcherObject.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyIDataErrorInfo.ErrorGets an error message indicating what is wrong with this object. (Inherited from ValidatingViewModelBase.)
Explicit interface implemetationPrivate propertyIDataErrorInfo.ItemGets the error message for the property that has the given name. (Inherited from ValidatingViewModelBase.)
Explicit interface implemetationPrivate methodIWeakEventListener.ReceiveWeakEvent (Inherited from NotifyPropertyChangedDispatcherObject.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft