Class
PivotSettingsViewModel

Provides mechanisms to observe the IPivotSettings context. Disables the dialog if the current is not part of an IPivotSettings.

Definition

Namespace:Telerik.Windows.Controls.FieldList.Editing

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public abstract class PivotSettingsViewModel : DialogViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel

Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModel

Derived Classes: DoubleGroupStepViewModelPivotResultsViewModelSortingOptionsViewModelStringFormatsViewModelTop10FilterViewModelValueFilterViewModelValueSummarizationViewModelShowFieldListViewModel

Implements: IDialogViewModelIDisposableINotifyPropertyChanged

Inherited Members DialogViewModel.CanExecuteOk(object)DialogViewModel.ExecuteOk(object)DialogViewModel.ExecuteRefresh(object)DialogViewModel.Dispose(bool)DialogViewModel.IsWorkingDialogViewModel.RequiresRefreshDialogViewModel.IsAvailableDialogViewModel.OkDialogViewModel.CancelDialogViewModel.RefreshDialogViewModel.CompletedDialogViewModel.CanceledViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.PropertyChanged

Properties

PivotSettings

Gets the IPivotSettings retrieved from the .

Declaration

cs-api-definition
protected IPivotSettings PivotSettings { get; }

Property Value

IPivotSettings

Methods

AttachToServices()

Attach to the new services.

Declaration

cs-api-definition
protected override void AttachToServices()

Overrides DialogViewModel.AttachToServices()

DetachFromServices()

Detach the previous services.

Declaration

cs-api-definition
protected override void DetachFromServices()

Overrides DialogViewModel.DetachFromServices()

OnPivotSettingsChanged()

Handles the PivotSettings changed.

Declaration

cs-api-definition
protected virtual void OnPivotSettingsChanged()

RetrieveServices(IServiceProvider)

Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.

Declaration

cs-api-definition
protected override void RetrieveServices(IServiceProvider serviceProvider)

Parameters

serviceProvider

IServiceProvider

The IServiceProvider to retrieve services from. This is a slim wrapper around the 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 DialogViewModel.RetrieveServices(IServiceProvider)

TryExecuteOnDispatcher(Action)

Executed the action on the dispatcher if dispatcher is available.

Declaration

cs-api-definition
protected void TryExecuteOnDispatcher(Action action)

Parameters

action

Action

The action.