DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / ViewRowCollection Class / AllowEdit Property

In This Topic
    AllowEdit Property (ViewRowCollection)
    In This Topic
    Gets a value indicating whether modifying property values is allowed on the view directly.
    Public ReadOnly Property AllowEdit As Boolean
    public bool AllowEdit {get;}

    As any other update operation performed directly on the view (as opposed to on the base data collection on which that view depends, see C1.LiveLinq.LiveViewExtensions.AsUpdatable<T>), it is allowed only if the view is not read-only (see View.IsReadOnly).

    Although read-only properties of a view cannot be modified directly in the view, they still reflect up-to-date values of the source, so the difference is often not critical, you can always modify corresponding property in the source, that will automatically change the property in the view.

    See Also