Puts the ViewRow into edit mode.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)

Syntax

C#
public void BeginEdit()
Visual Basic
Public Sub BeginEdit

Remarks

In edit mode, events and notifications are temporarily suspended, letting the user make changes to more than one property without triggering validation rules.

Edit mode is a standard feature of .NET data binding mechanism, supported by every data source implementing the IEditableObject interface. For detailed explanation, see, for example, [!:System.Data.DataRowView] in .NET Framework documentation.

While a view item is in edit mode, changes made to its updatable properties directly in the view are not propagated to the corresponding base data properties until the edit operation is completed by a call to EndEdit()()()() (see IsReadOnly about updatability of view element properties directly in the view).

If you change base data (source) properties, those changes are propagated to this view and other views depending on that base data according to the normal view maintenance process, regardless of whether the view row is in edit mode or not.

Many-to-one relations between view properties are maintained automatically on changes made to updatable properties directly in the view, regardless of whether the view row is in edit mode or not. For example, if you set a CustomerID directly in the view, CustomerName will change accordingly, even if you do it in edit mode.

See Also