Compartilhar via


AttributeNameList Class

Attribute Name List.When the object is serialized out as xml, its qualified name is p:attrNameLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.AttributeNameList

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(AttributeName))> _
Public Class AttributeNameList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As AttributeNameList
[ChildElementInfoAttribute(typeof(AttributeName))]
public class AttributeNameList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • AttributeName <p:attrName>

[ISO/IEC 29500-1 1st Edition]

19.5.8 attrNameLst (Attribute Name List)

This element is used to describe a list of attributes in which to apply an animation to.

[Example: Consider trying to emphasize the txt font size within the body of a shape. The attribute would be 'style.fontSize' and this can be done by doing the following:

<p:anim to="1.5" calcmode="lin" valueType="num">
  <p:cBhvr override="childStyle">
    <p:cTn id="6" dur="2000" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="3">
        <p:txEl>
          <p:charRg st="4294967295" end="4294967295"/>
        </p:txEl>
      </p:spTgt>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>style.fontSize</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
</p:anim>

end example]

Parent Elements

cBhvr (§19.5.22)

Child Elements

Subclause

attrName (Attribute Name)

§19.5.7

[Note: The W3C XML Schema definition of this element’s content model (CT_TLBehaviorAttributeNameList) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AttributeNameList Members

DocumentFormat.OpenXml.Presentation Namespace