Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.MVVM.NotifyPropertyChangedDispatcherObject
Microsoft.TeamFoundation.MVVM.ViewModelBase
Microsoft.TeamFoundation.MVVM.ValidatingViewModelBase
Microsoft.TeamFoundation.MVVM.WindowViewModel
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Class WindowViewModel _
Inherits ValidatingViewModelBase
public class WindowViewModel : ValidatingViewModelBase
public ref class WindowViewModel : public ValidatingViewModelBase
type WindowViewModel =
class
inherit ValidatingViewModelBase
end
public class WindowViewModel extends ValidatingViewModelBase
The WindowViewModel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
WindowViewModel(ViewModelBase) | |
![]() |
WindowViewModel(Dispatcher, ViewModelBase) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
DialogResult | |
![]() |
Dispatcher | Dispatcher associated with this object. (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
MessageBoxService | (Inherited from ViewModelBase.) |
![]() |
ParentViewModel | (Inherited from ViewModelBase.) |
![]() |
UIHostService | (Inherited from ViewModelBase.) |
![]() |
ValidationRules | A collection of validation rules. (Inherited from ValidatingViewModelBase.) |
![]() |
WindowDisplayService | (Inherited from ViewModelBase.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddDependencySource(String, INotifyCollectionChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
AddDependencySource(String, INotifyPropertyChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
CheckAccessBeginExecute | Executes 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.) |
![]() |
CheckAccessExecute(Action) | Executes the specified action on a thread associated with object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
CheckAccessExecute<TResult>(Func<TResult>) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetDependencySourceName(INotifyCollectionChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
GetDependencySourceName(INotifyPropertyChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetWaitCursor | (Inherited from ViewModelBase.) |
![]() |
HasErrors | Checks if at least one validation rule is broken. (Inherited from ValidatingViewModelBase.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnWindowActivated | Allows Window.Activated hook |
![]() |
OnWindowClosed | Allows Window.Closed hook |
![]() |
OnWindowClosing | Allows Window.OnClosing hook |
![]() |
OnWindowDeactivated | Allows Window.Deactivated hook |
![]() |
OnWindowLoaded | Allows Window.Loaded/UserControl.Loaded hook |
![]() |
OnWindowUnloaded | Allows Window.Unloaded/UserControl.Unloaded hook |
![]() |
RaisePropertyChanged | (Inherited from ViewModelBase.) |
![]() |
ReceiveWeakEvent | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
RegisterService | (Inherited from ViewModelBase.) |
![]() |
RegisterServices | (Inherited from ViewModelBase.) |
![]() |
RemoveDependencySource(String, INotifyCollectionChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
RemoveDependencySource(String, INotifyPropertyChanged) | (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
RequestClose | |
![]() |
ResolveService<TService> | Resolves the service. (Inherited from ViewModelBase.) |
![]() |
SetAndRaisePropertyChanged(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.) |
![]() |
SetAndRaisePropertyChanged(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.) |
![]() |
SetAndRaisePropertyChanged(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.) |
![]() |
SetAndRaisePropertyChanged<T>(T%, T, String) | A helper method that sets property value and raises PropertyChanged event if the value has changed. (Inherited from NotifyPropertyChangedDispatcherObject.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
TryResolveService(Type) | (Inherited from ViewModelBase.) |
![]() |
TryResolveService<TService>() | (Inherited from ViewModelBase.) |
![]() |
UnRegisterService | (Inherited from ViewModelBase.) |
![]() |
UnRegisterServices | (Inherited from ViewModelBase.) |
![]() |
VerifyAccess | Enforces that the calling thread has access to this object. (Inherited from NotifyPropertyChangedDispatcherObject.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from NotifyPropertyChangedDispatcherObject.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IDataErrorInfo.Error | Gets an error message indicating what is wrong with this object. (Inherited from ValidatingViewModelBase.) |
![]() ![]() |
IDataErrorInfo.Item | Gets the error message for the property that has the given name. (Inherited from ValidatingViewModelBase.) |
![]() ![]() |
IWeakEventListener.ReceiveWeakEvent | (Inherited from NotifyPropertyChangedDispatcherObject.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)