C1.LiveLinq.LiveViews Namespace > ViewRow Class : BeginEdit() Method |
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 System.ComponentModel.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 View.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2