FMX.Ani.TAnimator.StopTriggerAnimation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure StopTriggerAnimation(const Target: TFmxObject; const AInstance: TFmxObject; const APropertyName: string);

C++

__classmethod void __fastcall StopTriggerAnimation(Fmx::Types::TFmxObject* const Target, Fmx::Types::TFmxObject* const AInstance, const System::UnicodeString APropertyName);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TAnimator

Description

StopTriggerAnimation stops all the animations of the children of this object.

Note: StopTriggerAnimation works when the trigger is not set.

StopTriggerAnimation iterates through all the children of this FMX object until one of them is of type TAnimation, then it stops the animation.

For more information regarding the triggers, refer to the Trigger help topic.

StopTriggerAnimation has the following variables:

  • Target - The root of the tree of components among which all animators stop.
  • AInstance - The instance from which the trigger property values are requested.
  • ATrigger - The condition that causes the animation to stop.

See Also