Takes a list of strings in parameter that represent the names of properties that affect the current property. It is placed over any properties of the PropertyGrid's selectedObject.
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property,
AllowMultiple=True,
Inherited=True)>
Public Class DependsOnAttribute
Inherits System.Attribute
Here, the property "FirstName" has its own editor. If the properties "IsMale" or "LastName" are modified, the editor of property "FirstName" will be re-evaluated. This allows a user to modify the editor to change its background, ItemsSources, or create a new editor.
It is also possible to have different properties with the same "DependsOn".