Class EditProvider
A customizable provider that configures edit operations in TableBase.
Inheritance
Namespace: Telerik.Windows.Controls.Pivot
Assembly: Telerik.Windows.Controls.Pivot.dll
Syntax
public class EditProvider : Object, INotifyPropertyChanged, IDataErrorInfo
Constructors
EditProvider()
Declaration
public EditProvider()
Properties
EditedCellAggregateValue
Gets the CellAggregateValue that is currently edited.
Declaration
public CellAggregateValue EditedCellAggregateValue { get; }
Property Value
CellAggregateValue
|
EditValue
Gets or sets the bound edit value.
Declaration
public object EditValue { get; set; }
Property Value
System.Object
|
EnableValidation
Gets a value that indicates whether validation will be executed.
Declaration
protected virtual bool EnableValidation { get; }
Property Value
System.Boolean
|
Error
Declaration
public string Error { get; }
Property Value
System.String
|
Item[String]
Declaration
public string this[string columnName] { get; }
Parameters
System.String
columnName
|
Property Value
System.String
|
Methods
GetBindingProperty()
Provides the data binding property of the given editor.
Declaration
protected virtual DependencyProperty GetBindingProperty()
Returns
System.Windows.DependencyProperty
|
GetEditorControl()
Gets the editor control instance that will be used for editing.
Declaration
protected virtual FrameworkElement GetEditorControl()
Returns
System.Windows.FrameworkElement
|
OnPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
PrepareEditorControl()
Prepares the given editor instance for usage. Sets data binding and configuration properties.
Declaration
protected virtual FrameworkElement PrepareEditorControl()
Returns
System.Windows.FrameworkElement
|
Validate(Object)
Validates the current edit value, generating an error message if it is needed.
Declaration
protected virtual string Validate(object value)
Parameters
System.Object
value
|
Returns
System.String
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|