ViewInfo2.HideName Property

Definition

Gets whether the name of the view is set to be hidden on the View menu.

public:
 property bool HideName { bool get(); };
public bool HideName { get; }
member this.HideName : bool
Public ReadOnly Property HideName As Boolean

Property Value

true if the name of the view is hidden; otherwise false.

Examples

In the following example, the HideName property is used to display whether the view named "View2" is configured to be hidden on the View menu.

ViewInfo2 myView = (ViewInfo2)thisXDocument.ViewInfos["View2"];
thisXDocument.UI.Alert("Is hidden: " + myView.HideName);

Remarks

The HideName property specifies whether the form designer set the Show on the View menu when filling out the form check box in the View Properties dialog box.

Applies to