FormFix v6.0 for .NET - Updated
HasChanged Property (Field)



Accusoft.FormDirectorSdk Namespace > Field Class : HasChanged Property
Indicates when this object needs to be written to persistent storage.
Syntax
'Declaration
 
Public Property HasChanged As Boolean
'Usage
 
Dim instance As Field
Dim value As Boolean
 
instance.HasChanged = value
 
value = instance.HasChanged
public bool HasChanged {get; set;}
public:
property bool HasChanged {
   bool get();
   void set (    bool value);
}
Remarks

true if any persistent part of this object has changed; otherwise false. When FormDefinitionFile writes the properties (including this Field) of a FormDefinition object to a form definition file, or when it reads those properties from a form definition file, it will reset this property to false.

The persistent parts of this object are the Name, Location, Construction, Operations, and OtherDataItems properties. When you change any of them, this property will automatically change to true.

You can also set the value of this property. If you set it to false, it will also set the HasChanged property of the Construction, Operations, and OtherDataItems properties.

Default value: false

See Also

Reference

Field Class
Field Members
DataItem.HasChanged Property
DataItemCollection.HasChanged Property
FormDefinition.Read Method
FormDefinition.Write Method

Is this page helpful?
Yes No
Thanks for your feedback.