PropertyRecord Class


PropertyRecord contains instance information about a Property, including a value that can be edited using a PropertyEditor and converted using a TypeConverter.


Name Description
constructor(value: PropertyValue, property: PropertyDescription): PropertyRecord Constructs a PropertyRecord instance  
copyWithNewValue(newValue: PropertyValue, newDescription?: PropertyDescription): PropertyRecord Creates a copy of this PropertyRecord with a new value and optionally a new PropertyDescription  
getChildrenRecords(): PropertyRecord[] Gets this property record value children records  
fromString(value: string, descriptionOrName?: PropertyDescription | string): PropertyRecord Static Creates a PropertyRecord based on a value string and an optional property description or name  


Name Type Description
autoExpand undefined | false | true Indicates if the property should be automatically expanded  
description undefined | string Description for the property  
extendedData undefined | [key: string]: any Map containing any additional data  
isDisabled undefined | false | true Indicates if the property is disabled  
isMerged undefined | false | true Indicates if the property record represents merged properties  
isReadonly undefined | false | true Indicates if the property is read-only  
undefined | LinkElementsInfo Properties for link logic  
property PropertyDescription The property description containing metadata for the property  
value PropertyValue Value for the property  

Defined in

Last Updated: 22 February, 2021