New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Properties

Gets the IPivotSettings retrieved from the .

C#
protected IPivotSettings PivotSettings { get; }

Methods

Attach to the new services.

C#
protected override void AttachToServices()

Overrides: DialogViewModel.AttachToServices()

Detach the previous services.

C#
protected override void DetachFromServices()

Overrides: DialogViewModel.DetachFromServices()

Handles the PivotSettings changed.

C#
protected virtual void OnPivotSettingsChanged()

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

C#
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters:serviceProviderIServiceProvider

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)

Executed the action on the dispatcher if dispatcher is available.

C#
protected void TryExecuteOnDispatcher(Action action)
Parameters:actionAction

The action.