-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.TriggerBase |
winrt class |
Serves as the base class for EventTrigger. Not commonly used. See 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.