Class
EditableObjectBase<T>

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class EditableObjectBase<T> : ViewModelBase, INotifyPropertyChanged, IDisposable, IEditableObject, ICopyable<T> where T : class

Inheritance: objectViewModelBaseEditableObjectBase<T>

Derived Classes: AppointmentBase

Implements: ICopyable<T>IDisposableIEditableObjectINotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

EditableObjectBase()

Declaration

cs-api-definition
protected EditableObjectBase()

Properties

Backup

Declaration

cs-api-definition
protected T Backup { get; set; }

Property Value

T

IsEditing

Declaration

cs-api-definition
protected bool IsEditing { get; set; }

Property Value

bool

Methods

Copy()

Deep copies this instance.

Declaration

cs-api-definition
public abstract T Copy()

Returns

T

A deep copy of the current object.

Implements ICopyable<T>.Copy()

CopyFrom(T)

Deep copies all properties from other to this IAppointment.

Declaration

cs-api-definition
public abstract void CopyFrom(T other)

Parameters

other

T

The IAppointment which properties are copied.

Implements ICopyable<T>.CopyFrom(T)

OnBeginEdit()

Declaration

cs-api-definition
protected virtual void OnBeginEdit()

OnCancelEdit()

Declaration

cs-api-definition
protected virtual void OnCancelEdit()

OnEndEdit()

Declaration

cs-api-definition
protected virtual void OnEndEdit()

OnPropertyChanged(string)

Raises this object's PropertyChanged event.

Declaration

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

Parameters

propertyName

string

The property that has a new value.

Overrides ViewModelBase.OnPropertyChanged(string)

Storage<P>()

Declaration

cs-api-definition
protected P Storage<P>() where P : T

Returns

P