C++ C#

IEditableData Class

API Reference

Namespace: Semata.EditableData

Abstracts the interactions between the presentation layer and the underling data. No assumptions are made about the nature or type of the data.

public interface IEditableData : INotifyPropertyChanged, INotifyStateChanged, INotifyDataErrorInfo

Implements: INotifyPropertyChanged , INotifyStateChanged , INotifyDataErrorInfo

Properties

Name Description
DataName

The name of the underlying data typically case name, but only used in dialogs, so can be anything

IsChanged

Has the data been changed?

IsDeleted

Has the data been deleted?

IsNew

Is the data new? In other words, has yet to be stored.

Methods

Name Description
CanDelete()

Can the data be deleted?

CancelEdit()

Cancel any changes to the data.

ClearErrors()

Clear all errors on the data.

ClearErrors(string)

Clear errors for specified property name.

Delete()

Delete the data.

GetDeleteErrors()

Gets errors related to why data cannot be deleted

GetErrors()

Get all errors on the data.

Validate()

Is the data valid?

Write()

Store the data.

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.