Class PivotSettingsViewModel
Provides mechanisms to observe the IPivotSettings context. Disables the dialog if the current Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context is not part of an IPivotSettings.
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public abstract class PivotSettingsViewModel : DialogViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Properties
PivotSettings
Gets the IPivotSettings retrieved from the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context.
Declaration
protected IPivotSettings PivotSettings { get; }
Property Value
IPivotSettings
|
Methods
AttachToServices()
Attach to the new services.
Declaration
protected override void AttachToServices()
Overrides
DetachFromServices()
Detach the previous services.
Declaration
protected override void DetachFromServices()
Overrides
OnPivotSettingsChanged()
RetrieveServices(IServiceProvider)
Retrieve the services from the serviceProvider
. You could use the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
System.IServiceProvider
serviceProvider
The System.IServiceProvider to retrieve services from. This is a slim wrapper around the Telerik.Windows.Controls.FieldList.Editing.DialogViewModel.Context that would keep track of if all requested services were available. If a requested service was unavailable the DialogViewModel's IsAvailable would be set to false. |
Overrides
TryExecuteOnDispatcher(Action)
Executed the action on the dispatcher if dispatcher is available.
Declaration
protected void TryExecuteOnDispatcher(Action action)
Parameters
System.Action
action
The action. |