DesignTimeReadOnlyAttribute Class

Determines if the corresponding property is read-only at designtime.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public Class DesignTimeReadOnlyAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public class DesignTimeReadOnlyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property)]
public ref class DesignTimeReadOnlyAttribute : public Attribute
public class DesignTimeReadOnlyAttribute extends Attribute

Remarks

This attribute is used to mark properties that should be presented as read-only, but underlying code may change the value on.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.DesignTimeReadOnlyAttribute

See Also

DesignTimeReadOnlyAttribute Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace

System.ComponentModel.ReadOnlyAttribute