แก้ไข

แชร์ผ่าน


ControlDesigner.IsDirty Property

Definition

Caution

The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202

Gets or sets a value indicating whether the Web server control has been marked as changed.

public:
 property bool IsDirty { bool get(); void set(bool value); };
public bool IsDirty { get; set; }
[System.Obsolete("The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool IsDirty { get; set; }
member this.IsDirty : bool with get, set
[<System.Obsolete("The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.IsDirty : bool with get, set
Public Property IsDirty As Boolean

Property Value

true, if the Web server control has changed since it was last persisted or loaded; otherwise, false.

Attributes

Remarks

Note

The IsDirty property is obsolete. Use the IsDirty property and the SetDirty method on the Tag property for equivalent control designer functionality.

Applies to

See also