Unsure if I am doing something wrong here but
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription {
get { yield break; }
}
seems to have no effect in UI Builder with a custom element. Neither does adding a child description like so
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription {
get {yield return new UxmlChildElementDescription(typeof(Label));
}
Unsure if this is just a limitation of UI Builder or a bug but no matter what it seems you can add any children to anything. It does seem to work with ListView but I’m not sure if this is just because ListView clears its children itself?