ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / ViewRowCollection Class / AllowEdit Property

In This Topic
    AllowEdit Property
    In This Topic
    Gets a value indicating whether modifying property values is allowed on the view directly.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property AllowEdit As System.Boolean
    public System.bool AllowEdit {get;}
    Remarks

    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