Bearbeiten

Freigeben über


ToolStripTextBox.Modified Property

Definition

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.

public:
 property bool Modified { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool Modified { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Modified : bool with get, set
Public Property Modified As Boolean

Property Value

true if the control's contents have been modified; otherwise, false.

Attributes

Remarks

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.

Applies to