Class
EditProvider

A customizable provider that configures edit operations in TableBase.

Definition

Namespace:Telerik.Windows.Controls.Pivot

Assembly:Telerik.Windows.Controls.Pivot.dll

Syntax:

cs-api-definition
public class EditProvider : INotifyPropertyChanged, IDataErrorInfo

Inheritance: objectEditProvider

Implements: IDataErrorInfoINotifyPropertyChanged

Constructors

EditProvider()

Declaration

cs-api-definition
public EditProvider()

Properties

EditValue

Gets or sets the bound edit value.

Declaration

cs-api-definition
public object EditValue { get; set; }

Property Value

object

EditedCellAggregateValue

Gets the CellAggregateValue that is currently edited.

Declaration

cs-api-definition
public CellAggregateValue EditedCellAggregateValue { get; }

Property Value

CellAggregateValue

EnableValidation

Gets a value that indicates whether validation will be executed.

Declaration

cs-api-definition
protected virtual bool EnableValidation { get; }

Property Value

bool

Error

Declaration

cs-api-definition
public string Error { get; }

Property Value

string

Implements IDataErrorInfo.Error

this[string]

Declaration

cs-api-definition
public string this[string columnName] { get; }

Parameters

columnName

string

Property Value

string

Implements IDataErrorInfo.this[string]

Methods

GetBindingProperty()

Provides the data binding property of the given editor.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Method may require conditional complex logic for retrieving the binding property")]
protected virtual DependencyProperty GetBindingProperty()

Returns

DependencyProperty

GetEditorControl()

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

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Method may require conditional complex logic for retrieving the editor")]
protected virtual FrameworkElement GetEditorControl()

Returns

FrameworkElement

OnPropertyChanged(string)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

PrepareEditorControl()

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

Declaration

cs-api-definition
protected virtual FrameworkElement PrepareEditorControl()

Returns

FrameworkElement

Validate(object)

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

Declaration

cs-api-definition
protected virtual string Validate(object value)

Parameters

value

object

Returns

string

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged