_Document.UserControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
member this.UserControl : bool with 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.