dotnet / dotnet/dotnet-api-docs

Not all TriggerBase derivations mentioned as triggers for BeginStoryboard Action

Open
#4,638 2 comments 0 reactions 1 assignee Claimed by @fabiant3 View on GitHub
area-WPF doc-enhancement Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

[From](https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Windows.Media.Animation/BeginStoryboard.xml)

Any TriggerBase derivation can invoke an action. There are 3 others.
> Use a BeginStoryboard action with an EventTrigger or a Trigger to...

Also

> ...to apply animations to their target properties and start them.

What is 'their' referring to ? Perhaps it should say 'to apply animations to targeted properties and start them." Perhaps even reference the attached properties on the class that facilitate the targeting e.g [Storyboard.Target Attached Property](https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.animation.storyboard.target?view=netframework-4.7.2) or [how to apply animations with a storyboard](https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/storyboards-overview#how-to-apply-animations-with-a-storyboard)

Note that there is an issue with the api reference with respect to the attached properties in that there is no TargetProperty attached property present and [how to apply animations with a storyboard](https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/storyboards-overview#how-to-apply-animations-with-a-storyboard) fails to mention the Storyboard.Target attached property.

Check the .NET target framework(s) being used, and include the version number(s).

- [ ] .NET Core
- [x] .NET Framework
- [ ] .NET Standard

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.