[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.ZoomPolicy.ShouldSerializeValue

ShouldSerializeValue Method

ShouldSerializeValue(object, string)

Determines a value indicating whether the value of the specified object's specified property needs to be persisted.

Declaration
public static bool ShouldSerializeValue(object obj, string propertyName)
Parameters
Type Name Description
object obj

The specified object.

string propertyName

Name of the specified property.

Returns
Type Description
bool

true if the current value of the property is different from its default value; otherwise, false.