Condition Class
Condition.When the object is serialized out as xml, its qualified name is p:cond.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.TimeListConditionalType
DocumentFormat.OpenXml.Presentation.Condition
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class Condition _
Inherits TimeListConditionalType
'Uso
Dim instance As Condition
public class Condition : TimeListConditionalType
Remarks
The following table lists the possible child types:
TargetElement <p:tgtEl>
TimeNode <p:tn>
RuntimeNodeTrigger <p:rtn>
[ISO/IEC 29500-1 1ª edición]
19.5.31 cond (Condition)
This element specifies conditions on time nodes in a timeline. It is used within a list of start condition or list of end condition elements.
[Example: For example, suppose we have a shape with a two second delay after the animation is started.
<p:cTn>
<p:stCondLst>
<p:cond delay="2000"/>
</p:stCondLst>
<p:childTnLst>
<p:set> … </p:set>
<p:animEffect transition="in" filter="blinds(horizontal)">
<p:cBhvr>
<p:cTn id="7" dur="1000"/>
<p:tgtEl>
<p:spTgt spid="4"/>
</p:tgtEl>
</p:cBhvr>
</p:animEffect>
</p:childTnLst>
</p:cTn>
end example]
Parent Elements |
---|
endCondLst (§19.5.37); nextCondLst (§19.5.51); prevCondLst (§19.5.55); stCondLst (§19.5.73) |
Child Elements |
Subclause |
---|---|
rtn (Runtime Node Trigger Choice) |
§19.5.64 |
tgtEl (Target Element) |
§19.5.81 |
tn (Time Node) |
§19.5.86 |
Attributes |
Description |
---|---|
delay (Trigger Delay) |
This attribute describes the delay after an animation is triggered. The possible values for this attribute are defined by the ST_TLTime simple type (§19.7.38). |
evt (Trigger Event) |
This attribute describes the event that triggers an animation. The possible values for this attribute are defined by the ST_TLTriggerEvent simple type (§19.7.48). |
[Note: The W3C XML Schema definition of this element's content model (CT_TLTimeCondition) is located in §A.3. end note]
© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.