Skip to content
Javier Suárez edited this page Aug 10, 2020 · 5 revisions

Shield

Is a control to show concise, consistent, and legible badges.

Features

  • Customize colors, texts, etc.
  • Tap events and commands.
  • ControlTemplate support.

Using the control

Create an instance for the shield control, set the Subject and Status properties.

<controls:Shield
    Subject="C#"
    Status=">=4.5"
    Color="DodgerBlue"
    TextColor="White"/>

Touch it!

An action can be performed by tapping the Shield using the Tapped event, and/or the Command and CommandParameter properties.

<controls:Shield
    Subject="C#"
    Status=">=4.5"
    Color="DodgerBlue"
    TextColor="White"
    Tapped="OnShieldTapped"/>
Clone this wiki locally