Editor.CreateCachedEditor

Cambiar al Manual
public static void CreateCachedEditor (Object targetObject, Type editorType, ref Editor previousEditor);
public static void CreateCachedEditor (Object[] targetObjects, Type editorType, ref Editor previousEditor);

Parámetros

objEl objeto que el editor está siguiendo.
editorTypeEl tipo de editor solicitado. Null para el editor predeterminado del objeto.
previousEditorEl editor anterior para el objeto. Una vez que CreateCachedEditor devuelve previousEditor es un editor para targetObject o targetObjects.
objectsLos objetos que el editor le hace seguimiento.

Descripción

previousEditor es un editor para targetObject o targetObjects. La función devuelve si el editor ya está rastreando los objetos, o Destruye el editor anterior y crea uno nuevo.

By default an appropriate editor is chosen that has a matching CustomEditor attribute. If an editorType is specified, an editor of that type is created instead. Use this if you have created multiple custom editors where each editor shows different properties of the object. previousEditor will be NULL if objects are of different types or if no approprate editor was found.