IsReadOnly Property

BindingSource.IsReadOnly Property


Gets a value indicating whether the underlying list is read-only.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual bool IsReadOnly { get; }

Property Value

Type: System.Boolean

true if the list is read-only; otherwise, false.

A list that is read-only does not allow the addition, removal, or modification of any list items after the list is created.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft