Table of Contents

Method ShouldSerializeValue

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

ShouldSerializeValue(object)

Determines a value indicating whether the value of this property needs to be persisted. Dynamic property values are transient, so they always need to be persisted.

public override bool ShouldSerializeValue(object component)

Parameters

component object

The component with the property to be examined for persistence.

Returns

bool

true if the property should be persisted; otherwise, false.