May 2019
Intermediate to advanced
504 pages
11h 50m
English
Triggers can be defined as declarative actions that need to be executed. The different types of triggers are as follows:
To illustrate the use of triggers, we can use our previous example, where ReleaseDate for a certain item does not exist. In this scenario, because of TargetNullValue attribute being defined, the text of the label would be set to Release Unknown. Here, we can make use of a property trigger, which set the font color:
<Label x:Name="ReleaseDate" Text="{Binding ReleaseDate ...Read now
Unlock full access