Visual Basic (Declaration) | |
---|---|
Public Property Modified As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditBase Dim value As Boolean instance.Modified = value value = instance.Modified |
C# | |
---|---|
public bool Modified {get; set;} |
Property Value
true if modified by user; otherwise, false.The default is false.
You can use this property to determine if the user has modified the contents of the control. You can also set this property in code to indicate that changes were made to the control by the application. This property can be used by validation and data-saving methods to determine if changes were made in a control so the changed content can be validated or saved.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8