N2.Web.UI.WebControls.ItemEditorList.FindTopEditor C# (CSharp) 메소드

FindTopEditor() 개인적인 메소드

private FindTopEditor ( Control parent ) : ItemEditor
parent System.Web.UI.Control
리턴 ItemEditor
		private ItemEditor FindTopEditor(Control parent)
		{
			var editor = ItemUtility.FindInParents<ItemEditor>(parent);
			if (editor == null)
				return null;
			return FindTopEditor(editor.Parent) ?? editor;
		}