<doc>
  <legacy_id>1725</legacy_id>
  <name>backgroundNames</name>
  <type>property</type>
  <syntax>
    <example>get the backgroundNames of <i>stack</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Objects &amp; Messages</category>
  </classification>
  <references>
    <property tag="backgroundBehavior">backgroundBehavior Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
    <changed version="1.1"></changed>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Reports the <glossary tag="background">backgrounds</glossary> in a <object tag="stack">stack</object>.</summary>
  <examples>
    <example>put the backgroundNames of this stack after allObjectsList</example>
  </examples>
  <description>
    <p>Use the <b>backgroundNames</b> <glossary tag="property">property</glossary> to find out which <glossary tag="background">backgrounds</glossary> are available.</p><p/><p><b>Value:</b></p><p>The <b>backgroundNames</b> of a <object tag="stack">stack</object> reports a list of group names, one per <keyword tag="line">line</keyword>.</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>The <b>backgroundNames</b> is the list of all <glossary tag="background">backgrounds</glossary> in the <object tag="stack">stack</object> whose <property tag="backgroundBehavior">backgroundBehavior</property> <glossary tag="property">property</glossary> is set to true, whether they appear on the <glossary tag="current card">current card</glossary> or not. If a <command tag="group">group</command> in the <i>stack</i> contains <glossary tag="group">groups</glossary>, only the top-level <glossary tag="group">groups</glossary> are reported.</p><p/><p>To find out which groups are placed on a card, use the <b>groupNames</b> <glossary tag="property">property</glossary>.</p><p/><p><b>Changes:</b></p><p>In versions before 1.1, <b>groupNames</b> and <b>backgroundNames</b> were synonyms and could be used interchangeably.</p>
  </description>
</doc>