ClassStringFormatsViewModel
A view-model that encapsulates the editing of a string format for a Value's Description.
Definition
Namespace:Telerik.Windows.Controls.FieldList.Editing
Assembly:Telerik.Windows.Controls.PivotFieldList.dll
Syntax:
public sealed class StringFormatsViewModel : PivotSettingsViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel
Inheritance: objectViewModelBaseDialogViewModelPivotSettingsViewModelStringFormatsViewModel
Implements:
Inherited Members
Properties
AvailableFormatOptions
Gets a list with StringFormatOption available for SelectedFormat selection.
Declaration
public IList<StringFormatOption> AvailableFormatOptions { get; }
Property Value
SelectedFormat
Gets or sets the selected string format.
Methods
AttachToServices()
Attach to the new services.
Declaration
protected override void AttachToServices()
Overrides
ExecuteOk(object)
Handles the Ok execution.
Declaration
protected override void ExecuteOk(object parameter)
Parameters
parameter
Overrides
RetrieveServices(IServiceProvider)
Retrieve the services from the serviceProvider. You could use the if you do not want the IsAvailable to track your requests.
Declaration
protected override void RetrieveServices(IServiceProvider serviceProvider)
Parameters
serviceProvider
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