BindingMetadata.IsReadOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether or not the model is read-only. Will be ignored
if the model metadata being created is not a property. If null
then
IsReadOnly will be computed based on the accessibility
of the property accessor and model Type. See IsReadOnly.
public:
property Nullable<bool> IsReadOnly { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsReadOnly { get; set; }
member this.IsReadOnly : Nullable<bool> with get, set
Public Property IsReadOnly As Nullable(Of Boolean)