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

A customizable provider that configures edit operations in TableBase.

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

C#
public class EditProvider : INotifyPropertyChanged, IDataErrorInfo

Inheritance: objectEditProvider

Implements: IDataErrorInfoINotifyPropertyChanged

Constructors

C#
public EditProvider()

Properties

Gets the CellAggregateValue that is currently edited.

C#
public CellAggregateValue EditedCellAggregateValue { get; }

Gets or sets the bound edit value.

C#
public object EditValue { get; set; }

Gets a value that indicates whether validation will be executed.

C#
protected virtual bool EnableValidation { get; }
C#
public string Error { get; }

Implements: IDataErrorInfo.Error

C#
public string this[string columnName] { get; }
Parameters:columnNamestring

Implements: IDataErrorInfo.this[string]

Methods

GetBindingProperty()

DependencyProperty

Provides the data binding property of the given editor.

C#
protected virtual DependencyProperty GetBindingProperty()
Returns:

DependencyProperty

GetEditorControl()

FrameworkElement

Gets the editor control instance that will be used for editing.

C#
protected virtual FrameworkElement GetEditorControl()
Returns:

FrameworkElement

Raises the PropertyChanged event.

C#
protected void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

PrepareEditorControl()

FrameworkElement

Prepares the given editor instance for usage. Sets data binding and configuration properties.

C#
protected virtual FrameworkElement PrepareEditorControl()
Returns:

FrameworkElement

Validates the current edit value, generating an error message if it is needed.

C#
protected virtual string Validate(object value)
Parameters:valueobjectReturns:

string

Events

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged