property Surface.AllowInsertObject as Boolean
Gets or sets a value that specifies whether the user can drag and drop elements to other elements to insert them as child elements.

TypeDescription
Boolean A Boolean expression that specifies whether the user can drag and drop elements to other elements to insert them as child elements.
Use the AllowInsertObject property to specify whether the elements can be be dropped over other elements to change its parent or the children list. Use the AllowChangeParent property to prevent changing the element's Parent at runtime. The AllowInsertChild property specifies whether other elements can be inserted as child elements of the current element. The Parent property indicates the element's parent. The Children property specifies the list of child elements. The control fires the ParentChangeElement event when the user changes the element's parent.