# Invisible Element

When it appears in an Act element, the Invisible element indicates whether the action is visible on the smart tag or shortcut menu.

When it appears in a Prop element, the Invisible element specifies whether the custom property is visible in the Custom Properties dialog box in Microsoft Visio.

When it appears in a Hyperlink element, the Invisible element indicates whether a hyperlink appears on the shortcut menu for a shape or page.

Possible values for the Invisible element in an Act element are shown in the following table.

Value | Description
--- | ---
0 | The action is not visible on the menu.
1 | The action is visible on the menu (the default).

Possible values for the Invisible element in a Prop element are shown in the following table.

Value | Description
--- | ---
0 | The custom property is visible.
1 | The custom property is not visible.

Possible values for the Invisible element in a Hyperlink element are shown in the following table.

Value | Description
--- | ---
0 | The hyperlink does not appear as a menu item on the shortcut menu.
1 | The hyperlink does appear as a menu item on the shortcut menu (the default).

## Syntax

    <Invisible>
        [Unit]
        [F]
        [Err]>
    </Invisible>

## Attributes

Unit

Optional string. Represents a unit of measure. The default is BOOL. For details about BOOL, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

## Element properties

Property | Value
--- | ---
Name | Invisible
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

Act

Prop

Hyperlink

Child elements

None

## Remarks

The Invisible element in an Act element is relevant only when contained in a PageSheet, or Shape element. It is ignored when contained in a StyleSheet or DocumentSheet element.

The Invisible element in a Prop element is relevant only when contained in a DocumentSheet, PageSheet, or Shape element. It is ignored when contained in a StyleSheet element.

The Invisible element in a Hyperlink element is relevant only when contained in a DocumentSheet, PageSheet, or Shape element. It is ignored when contained in a StyleSheet element.

## See also

Invisible cell (Actions section)

Invisible cell (Custom Properties section)

Invisible cell (Hyperlinks section)

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp