Click or drag to resize
DialogViewModel Class
A base class for the various pivot field list editing dialogs view models.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList (in Telerik.Windows.Controls.PivotFieldList.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public abstract class DialogViewModel : ViewModelBase, 
	IDialogViewModel

The DialogViewModel type exposes the following members.

Methods
  NameDescription
Protected methodAttachToServices
Attach to the new services.
Protected methodCanExecuteOk
Checks if the OkICommand can be executed.
Protected methodDetachFromServices
Detach the previous services.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Overrides ViewModelBaseDispose(Boolean).)
Protected methodExecuteOk
Handles the Ok execution.
Protected methodExecuteRefresh
Handles the Refresh execution.
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodRetrieveServices
Retrieve the services from the serviceProvider. You could use the Context if you do not want the IsAvailable to track your requests.
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Properties
  NameDescription
Public propertyCancel
Gets the Cancel ICommand for this dialog.
Public propertyIsAvailable
Gets a value that indicates if the editing is possible.
Public propertyIsWorking
Gets a value that indicates if the dialog is waiting on results.
Public propertyOk
Gets the Ok ICommand for this dialog.
Public propertyRefresh
Gets the Refresh ICommand for this dialog.
Public propertyRequiresRefresh
Gets a value that indicates if the editing requires recent IPivotResults data.
Top
Events
  NameDescription
Public eventCanceled
Invoked when the user canceled any changes done through this dialog.
Public eventCompleted
Invoked when the user completed and confirmed the changes on this dialog.
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Top
See Also