IsFixedSize Property

BindingSource.IsFixedSize Property


Gets a value indicating whether the underlying list has a fixed size.

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

public virtual bool IsFixedSize { get; }

Property Value

Type: System.Boolean

true if the underlying list has a fixed size; otherwise, false.

If the list has a fixed size, it does not allow the addition or removal of elements after the list has been created, but you can modify existing elements.

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