/// <summary> /// Populate this UIElementCollection with automatically generated controls for the specified type. /// </summary> /// <param name="type"></param> public static void GenerateControlsFor(this UIElementCollection collection, object source) { collection.GenerateControlsFor(source, source.GetType().GetAutoUIMembers()); }