Udostępnij za pośrednictwem


EditorWithReadOnlyTextAttribute Class

Attribute that instructs the designtime to make the textbox for a property readonly.
This property can is used together with an EditorAttribute, in which the created text box is readonly, though the property can be edited by the editor.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False)> _
Public Class EditorWithReadOnlyTextAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false)]
public class EditorWithReadOnlyTextAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false)]
public ref class EditorWithReadOnlyTextAttribute : public Attribute
public class EditorWithReadOnlyTextAttribute extends Attribute

Inheritance Hierarchy

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

See Also

EditorWithReadOnlyTextAttribute Members

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