Share via


name Attribute (toolbar Element)

Identifies the corresponding toolbar within different views.

Type

xsf:xdTitle

Remarks

The name attribute is a required attribute of the toolbar element.

Must be unique within a given solution.

Example

The following is an example of the name attribute as it is used in the toolbar element:

<xsf:toolbar caption="CD Collection Toolbar"
   name="CD Collection Toolbar">
   <xsf:button action="xCollection::insert" xmlToEdit="CD_10"
      caption="New CD" showIf="always"></xsf:button>
   <xsf:button action="xCollection::insert" xmlToEdit="Track_14" 
      caption="New Track" showIf="always"></xsf:button>
   <xsf:button action="xOptional::insert" xmlToEdit="Label_16" 
      caption="New Label" showIf="always"></xsf:button>
   <xsf:menu caption="Remove">
      <xsf:button action="xCollection::remove" xmlToEdit="CD_10" 
         caption="CD" showIf="always"></xsf:button>
      <xsf:button action="xCollection::remove" xmlToEdit="Track_14" 
         caption="Track" showIf="always"></xsf:button>
      <xsf:button action="xOptional::remove" xmlToEdit="Label_16" 
         caption="Label" showIf="always"></xsf:button>
   </xsf:menu>
</xsf:toolbar>

Parent Objects | toolbar Element