This property descriptor can be used to alter the read-only state of a property in a property grid at runtime based on other conditions.

Namespace: SandcastleBuilder.Utils.Design
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 1.9.3.0

Syntax

C#
public class DynamicReadOnlyPropertyDescriptor : PropertyDescriptor
Visual Basic
Public Class DynamicReadOnlyPropertyDescriptor _
	Inherits PropertyDescriptor

Remarks

To use it, derive a new class and override the IsReadOnly property.

Inheritance Hierarchy

System..::..Object
  System.ComponentModel..::..MemberDescriptor
    System.ComponentModel..::..PropertyDescriptor
      SandcastleBuilder.Utils.Design..::..DynamicReadOnlyPropertyDescriptor

See Also