Reloadable Property

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 bool Reloadable { 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

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.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.

Community Additions

© 2015 Microsoft