SetBehavior Class

Set Time Node Behavior.When the object is serialized out as xml, its qualified name is p:set.

Inheritance Hierarchy


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


<ChildElementInfoAttribute(GetType(ToVariantValue))> _
<ChildElementInfoAttribute(GetType(CommonBehavior))> _
Public Class SetBehavior _
    Inherits OpenXmlCompositeElement
Dim instance As SetBehavior
public class SetBehavior : OpenXmlCompositeElement


The following table lists the possible child types:

  • CommonBehavior <p:cBhvr>

  • ToVariantValue <p:to>

[ISO/IEC 29500-1 1st Edition]

19.5.66 set (Set Time Node Behavior)

This element allows the setting of a particular property value to a fixed value while the behavior is active and restores the value when the behavior is reset or turned off.

[Example: For example, suppose we want to set certain properties during an animation effect. The <set> element should be used as follows:

      <p:cTn id="6" dur="1" fill="hold"> … </p:cTn>
        <p:spTgt spid="4"/>
      <p:strVal val="visible"/>
  <p:animEffect transition="in" filter="blinds(horizontal)">

end example]

Parent Elements

childTnLst (§19.5.25); subTnLst (§19.5.78); tnLst (§19.5.87)

Child Elements


cBhvr (Common Behavior)


to (To)


[Note: The W3C XML Schema definition of this element’s content model (CT_TLSetBehavior) 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


SetBehavior Members

DocumentFormat.OpenXml.Presentation Namespace