Share via


BindableProperty.ReadOnly Property

Gets whether the underlying Property is read-only.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Property ReadOnly As Boolean
public bool ReadOnly { get; set; }
public:
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
public function get ReadOnly () : boolean
public function set ReadOnly (value : boolean)

Return Value

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

See Also

BindableProperty Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace