A runtime form designer control

FormDesigner.Dirty Property

Get / set a flag indicating if the any of the contained components has changed since it was last marked as clean.

[Visual Basic]
Public Property Dirty As Boolean
[C#]
public bool Dirty { get; set; }
[C++]
public: __property bool get_Dirty();
public: __property void set_Dirty(bool );
[JScript]
public function get Dirty() : bool
public function set Dirty(bool);

Remarks

This property can be used to decide if you want to prompt the user to save the layout at the time of closing the designer form.

This property is automatically set to false after SaveLayout or LoadLayout is called.

This property is not available at design time.

See Also

FormDesigner Class | Viklele.Win.Designer Namespace