BasicDesignerLoader.ReloadOptions Enumeration

 

Defines the behavior of the Reload method. These flags can be combined using the bitwise OR operator.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
protected enum ReloadOptions

Member nameDescription
Default

The designer loader flushes changes before reloading, but it does not force a reload, and it also does not set the Modified property to true if load errors occur.

Force

The designer loader forces the reload to occur. Normally, a reload occurs only if the IsReloadNeeded method returns true. This flag bypasses calling this method and always performs the reload.

ModifyOnError

The designer loader will set the Modified property to true if load errors occur. This flag is useful if you want a flush of the loader to overwrite persistent state that had errors.

NoFlush

The designer loader abandons any changes before reloading.

.NET Framework
Available since 2.0
Return to top
Show: