Delphi Compiler Error
E2292 ‘%s’ must reference a property or field of class ‘%s’
Reason for the Error & Solution
In custom attribute declaration syntax, you can pass values to the constructor of the attribute class, followed by name=value pairs, where name is a property or field of the attribute class.