This documentation is archived and is not being maintained.

ToolStripTextBox.Modified Property

Gets or sets a value that indicates that the ToolStripTextBox control has been modified by the user since the control was created or its contents were last set.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public bool Modified { get; set; }

Property Value

Type: System.Boolean
true if the control's contents have been modified; otherwise, false.

You can use this property to determine if the user has modified the contents of the ToolStripTextBox control. You can also set this property in code to indicate that changes were made to the ToolStripTextBox control by the application. This property can be used by validation and data-saving methods to determine if changes were made in a ToolStripTextBox control so the changed contents can be validated or saved.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: