Share via


DesignerDocDataService.UseWeakEditLock Property

Definition

Determines whether the DesignerDocDataService instance holds a weak or strong edit lock on the child documents. The default value is false (strong edit lock). Normal designers in document windows should use strong edit lock. Advanced invisible designers should use weak locks, so that when the child document is opened in a visible editor, the control of the edit lock is yielded to the visible editor. The user is then prompted to save the document when the visible editor is closed.

public:
 property bool UseWeakEditLock { bool get(); void set(bool value); };
public:
 property bool UseWeakEditLock { bool get(); void set(bool value); };
public bool UseWeakEditLock { get; set; }
member this.UseWeakEditLock : bool with get, set
Public Property UseWeakEditLock As Boolean

Property Value

true if the service holds a weak lock, otherwise false.

Applies to