InDesign2026
API 21.5.1.73

ShowHideFieldsBehaviors

A collection of show/hide fields behavior objects.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ ShowHideFieldsBehavior

Creates a new ShowHideFieldsBehavior.

withProperties? Object Initial values for properties of the new ShowHideFieldsBehavior
→ Number

Displays the number of elements in the ShowHideFieldsBehavior.

→ ShowHideFieldsBehavior

Returns the ShowHideFieldsBehavior with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ ShowHideFieldsBehavior[]

Returns the ShowHideFieldsBehaviors within the specified range.

from LongInteger | ShowHideFieldsBehavior | String The ShowHideFieldsBehavior, index, or name at the beginning of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.
to LongInteger | ShowHideFieldsBehavior | String The ShowHideFieldsBehavior, index, or name at the end of the range. Can accept: ShowHideFieldsBehavior, Long Integer or String.
→ ShowHideFieldsBehavior

Returns the ShowHideFieldsBehavior whose index follows the specified ShowHideFieldsBehavior in the collection.

obj ShowHideFieldsBehavior The ShowHideFieldsBehavior whose index comes before the desired ShowHideFieldsBehavior.
→ ShowHideFieldsBehavior

Returns the ShowHideFieldsBehavior with the index previous to the specified index.

obj ShowHideFieldsBehavior The index of the ShowHideFieldsBehavior that follows the desired ShowHideFieldsBehavior.
→ String

Generates a string which, if executed, will return the ShowHideFieldsBehavior.

Object of 7

Properties elsewhere that hold a ShowHideFieldsBehaviors.