MetaColumn.AllowInitialValue Property

.NET Framework (current version)

Gets or sets a value that specifies whether a column enables a value to be inserted.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public bool AllowInitialValue { get; }

Property Value

Type: System.Boolean

true if the column enables a value to be inserted; otherwise, false.

The default value is false when the column is read-only and true when the column is not read-only. The default value can be overridden by using the EditableAttribute attribute.

.NET Framework
Available since 4.0
Return to top