DataTrigger et Batterie

Bill,
Je suis en train d’utiliser la page “LockDetails.xaml” .
Pour paramétrer la jauge de batterie, il y a vraiment 11 “DataTrigger” a renseigner avec la même valeur ?

Je suppose qu’il faut renseigner a un seul endroit, mais … lequel ?

Merci de ta réponse.

The reason there are so many triggers is that it displays a different Icon for each level. When the Battery level is 0-4% it displays the Battery0 icon, when the battery level is 5-14% it displays Battery1 icon, etc.

Oui, ça j’avais bien compris, :rofl: mais il faut remplir a la main les 11 champs pour mettre la même chose dedans ?
Il n’y a pas un paramètre commun pour toutes ces champs ?

You can copy-and-paste DataTriggers. Right now though, you can only select 1 at a time. I know that’s kind of a pain but there really isn’t any shortcut. These 11 triggers are actually pretty new. Before it just showed a static icon.

…or perhaps the easier thing to do would just be to copy & paste the entire control to your new page

Bon, si c’est ça le progrès. :floppy_disk: :crazy_face: :crazy_face: :crazy_face: