ClassEditProvider
A customizable provider that configures edit operations in TableBase.
Definition
Namespace:Telerik.Windows.Controls.Pivot
Assembly:Telerik.Windows.Controls.Pivot.dll
Syntax:
public class EditProvider : INotifyPropertyChanged, IDataErrorInfo
Inheritance: objectEditProvider
Implements:
Constructors
EditProvider()
Declaration
public EditProvider()
Properties
EditValue
Gets or sets the bound edit value.
EditedCellAggregateValue
Gets the CellAggregateValue that is currently edited.
Declaration
public CellAggregateValue EditedCellAggregateValue { get; }
Property Value
EnableValidation
Gets a value that indicates whether validation will be executed.
Methods
GetBindingProperty()
Provides the data binding property of the given editor.
Declaration
[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
[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
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
PrepareEditorControl()
Prepares the given editor instance for usage. Sets data binding and configuration properties.
Declaration
protected virtual FrameworkElement PrepareEditorControl()
Returns
FrameworkElement
Validate(object)
Validates the current edit value, generating an error message if it is needed.
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements