InterfaceIObjectEditor<T>
Interface
Provides the properties and methods allowing transactional edit operations.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Type Parameters:
T
The type of the edited objects.
Syntax:
cs-api-definition
public interface IObjectEditor<T>
Properties
EditedItem
The currently edited object.
Declaration
cs-api-definition
T EditedItem { get; }
Property Value
T
Methods
BeginEdit(T)
Begins a edit operation.
Declaration
cs-api-definition
bool BeginEdit(T item)
Parameters
item
T
The object to edit.
Returns
True when the operation succeeded, otherwise false.
Cancel()
Cancels the current edit operation.
Declaration
cs-api-definition
bool Cancel()
Returns
True when the operation succeeded, otherwise false.
Commit()
Commits the current edit operation.
Declaration
cs-api-definition
bool Commit()
Returns
True when the operation succeeded, otherwise false.
GetItemToEdit(T)
Gets the item to edit.
Declaration
cs-api-definition
IOccurrence GetItemToEdit(T item)
Parameters
item
T
Returns