Pulses when the busy status of a node is cleared.

Completed is used to respond to the completion of a preparation, loading, or other busy task.

This example draws attention to an Image when it has completed loading:

<Image Url="some_big_image">
    <Completed>
        <Scale Factor="0.8" Duration="0.4"/>
    </Completed>
</Image>

Completed always fires, even if the node wasn't busy before. This makes it suitable for things that should always run. It also makes it useful in combination with other triggers. For example, the below scales the image when the navigation page is both active and completed.

<Page>
    <Image Alignment="Center" Url="some_image" ux:Name="theImage"/>
    <WhileActive>
        <Completed>
            <Scale Target="theImage" Factor="1.5" Duration="0.3"/>
        </Completed>
    </WhileActive>
</Page>

Location

Namespace
Fuse.Triggers
Package
Fuse.Triggers 2.9.1
Show Uno properties and methods

Interface of Completed

Repeat : bool ux

By default Completed will trigger only once after it has been rooted. Set Repeat="true" to have it trigger every time a busy operation completes.

Reset uno

Resets the already pulsed state and allows the trigger to pulse again.

reset() js

Resets the Completed trigger allowing it to trigger again.

Inherited from PulseTrigger<CompletedEventArgs>

Inherited from Trigger

BackwardAnimation : TriggerAnimation ux

Specifies an explicit backward animation instead of using the implied backward animation of the animators involved. Be aware that actions are not part of the animation.

CrossFadeDuration : double ux

If there is a transition between forward/backward playback and two timeilnes are being used (implicit or explicit) this specifies the cross-fade time.

Deactivate uno

Deactivates the trigger (target progress of 0).

Pulse uno

Plays the trigger to progress 1 then back to 0.

RequireLayout(Visual) uno

Indicates the trigger is bound to the layout of a visual. This will keep the trigger in Bypass mode until after the first layout of the element is obtained. This is required since layout does not happen in the same root grouping/update phase as the creation of the element, yet not having a layout should qualify as part of the rooting period.

Inherited from NodeGroupBase

Nodes : IList of Node ux

Nodes to add to the Parent when this trigger is any non-deactivated state (Progress > 0)

Inherited from Node

ContextParent : Node uno

The context parent is the semantic parent of this node. It is where non-UI structure should be resolved, like looking for the DataContext, a Navigation, or other semantic item.

FindNodeByName(Selector, Predicate<Node> (Node)) : Node uno

Finds the first node with a given name that satisfies the given acceptor. The serach algorithm works as follows: Nodes in the subtree are matched first, then it matches the nodes in the subtrees ofthe ancestor nodes by turn all the way to the root. If no matching node is found, the function returns null.

IsRootingStarted : bool uno

Whether rooting of this node has started. Note that even if this property returns true, rooting may not yet be completed for the node. See also IsRootingCompleted.

Name : Selector ux

Run-time name of the node. This property is automatically set using the ux:Name attribute.

OnRooted uno

If you override OnRooted you must call base.OnRooted() first in your derived class. No other processing should happen first, otherwise you might end up in an undefined state.

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces

IScriptObject uno

Interface for objects that can have a script engine representation