private FindTopEditor ( |
||
parent | ||
return | ItemEditor |
private ItemEditor FindTopEditor(Control parent)
{
var editor = ItemUtility.FindInParents<ItemEditor>(parent);
if (editor == null)
return null;
return FindTopEditor(editor.Parent) ?? editor;
}