Class
EditableObjectBase<T>

Definition

Namespace:Telerik.UI.Xaml.Controls.Scheduler

Assembly:Telerik.WinUI.Controls.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectViewModelBaseEditableObjectBase<T>

Derived Classes: AppointmentBase

Implements: ICopyable<T>IEditableObjectINotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)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()

PropertyChangedOverride(string)

Provides an entry point for inheritors to provide additional logic over the PropertyChanged routine.

Declaration

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

Parameters

propertyName

string

Overrides ViewModelBase.PropertyChangedOverride(string)

Storage<P>()

Declaration

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

Returns

P