Search code examples
c#attributescomponentmodel

What is EditorReuseAttribute really for?


I can't find any idea of the way to use this attribute?


Solution

  • MSDN indicates it is indeed to indicate that a property editor can be reused without needing to recreate each time.

    This is a performance win, especially if your editor needs to do significant work on start up which can be avoided. Unless you are actually having performance issues then I wouldn't worry about it.