Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.3 KB

triggerbase.md

File metadata and controls

24 lines (15 loc) · 1.3 KB
-api-id -api-type
T:Microsoft.UI.Xaml.TriggerBase
winrt class

Microsoft.UI.Xaml.TriggerBase

-description

Serves as the base class for EventTrigger. Not commonly used. See Remarks.

-remarks

Triggers, EventTrigger, Actions and BeginStoryboard are not commonly used. These API mainly exist for compatibility in XAML originally used for Microsoft Silverlight. For most scenarios where event triggers were used previously, you should either use visual states, or start animations by writing a Loaded handler that looks up an animation in page-level resources and then calls Begin on the animation's main Storyboard. For more info, see XAML Control templates or Storyboarded animations.

-examples

-see-also

Storyboard