src/sap.ui.core/src/sap/ui/core/support/ToolsAPI.js
function (control) {
				var result = [];
				var inheritedMetadata = control.getMetadata().getParent();

				while (inheritedMetadata instanceof ElementMetadata) {
					result.push(this._copyInheritedProperties(control, inheritedMetadata));
					inheritedMetadata = inheritedMetadata.getParent();
				}

				return result;
			}
function (control) {
				var result = [];
				var inheritedMetadata = control.getMetadata().getParent();

				while (inheritedMetadata instanceof ElementMetadata) {
					result.push(this._copyInheritedProperties(control, inheritedMetadata));
					inheritedMetadata = inheritedMetadata.getParent();
				}

				return result;
			}
function ( control ) { var result = [ ] ; var inheritedMetadata = control . getMetadata ( ) . getParent ( ) ; while ( inheritedMetadata instanceof ElementMetadata ) { result . push ( this . _copyInheritedProperties ( control , inheritedMetadata ) ) ; inheritedMetadata = inheritedMetadata . getParent ( ) ; } return result ; }
Creates an array with the control properties that are inherited.
@param {Object} control - UI5 control.
@returns {Array}
@private
Creates an array with the control properties that are inherited .