_Document.UserControl _Document.UserControl _Document.UserControl Property

Definition

Determines if the document or application was created or opened by the user.

public:
 property bool UserControl { bool get(); void set(bool value); };
public bool UserControl { get; set; }
Public Property UserControl As Boolean

Property Value

Remarks

This property returns True if the document or application was created or opened by the user, and False if the document or application was created or opened programmatically. Set the property value to True or False to enable or disable the functionality.

If Word is visible to the user, this property will always return True.

Applies to