Share via


SmartTagAction.ExpandDocumentFragment Property

Returns or sets a Boolean that represents whether the specified document fragment control is expanded or collapsed in the Document Actions task pane.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ExpandDocumentFragment As Boolean
    Get
    Set
'Usage
Dim instance As SmartTagAction
Dim value As Boolean

value = instance.ExpandDocumentFragment

instance.ExpandDocumentFragment = value
bool ExpandDocumentFragment { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True to indicate that the control is expanded, and False to indicate that the control is collapsed.

For more information on smart documents, please see the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

See Also

Reference

SmartTagAction Interface

SmartTagAction Members

Microsoft.Office.Interop.Word Namespace