RootDesignerSerializerAttribute::Reloadable Property

 

Gets a value indicating whether the root serializer supports reloading of the design document without first disposing the designer host.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public:
property bool Reloadable {
	bool get();
}

Property Value

Type: System::Boolean

true if the root serializer supports reloading; otherwise, false.

If this property is set to false, the design document does not automatically perform a reload on behalf of the user. If this property is set to false, it is the user's responsibility to reopen the designer view window for the design document, if an update or reload is desired.

Some serializers require the interaction of external components in the designer loading process in order to rebuild the design document. These serializers sometimes need to create a new designer host each time the design document is loaded. If this is the situation, Reloadable will be set to false, and the designer host must be recreated by user interaction (launching the designer for the document) after the design document is disposed. The events and services that were connected to the designer host, except through deserialization, do not remain and may need to be set again. If Reloadable is true, the design document can be reloaded after changes outside the designer are made to the code, without closing the designer window and reopening it.

.NET Framework
Available since 1.1
Return to top
Show: