ElementPropertyDescriptor::IsReadOnly Property

 

Gets a value that indicates whether the described property is read-only.

Namespace:   Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
property bool IsReadOnly {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

A value that indicates whether the described property is read-only.

If the owner parameter was specified in the constructor for this property descriptor, then the IsPropertyDescriptorReadOnly method of the owner provides the value, where this descriptor is passed in the propertyDescriptor parameter.

By default, only calculated properties and properties to which the ReadOnlyAttribute attribute is applied are read-only.

Return to top
Show: