InternalAdd method
void
InternalAdd(
- TComplexProperty complexProperty, [
- bool loading = false
])
Add complex property.
The complex property.
If true, collection is being loaded.
Implementation
/* private */
void InternalAdd(TComplexProperty complexProperty, [bool loading = false]) {
if (!_items.contains(complexProperty)) {
_items.add(complexProperty);
if (!loading) {
_removedItems.remove(complexProperty);
_addedItems.add(complexProperty);
}
complexProperty.addOnChangeEvent(ItemChanged);
Changed();
}
}