Dave's Silverlight Dashboards and gauges

RoundLed

A RoundLed control is a binary control. A binary control is initialized via the IsTrue property. Internally boolean controls still used the Value property and handle the value as 0 == false , and 100 == true.

Boolean controls show as green in their true state and red in their false view. These colors are of course customizable as true is not always good, and neither is false always bad (dead == false, works for me every time).

The default view is as follows

In common with all booleans controls RoundLed has the following properties that can be set

  • IsTrue
  • FalseColor
  • TrueColor

As already mentioned the IsTrue property is a convienience property for setting the Value, The TrueColor and FalseColors are Color points as described here see Dial360.

So lets style a RoundLed and set the colors to off (gray) at 0 and to a green for on at 100. The XAML looks like

         <db:RoundLed Value="0" Grid.Column="0" Width="16" Height="16" >
                    <db:BinaryDashboard.TrueColor>
                        <db:ColorPoint HiColor="#777777" LowColor="#33ff33" Value="9" />
                    </db:BinaryDashboard.TrueColor>
                    <db:BinaryDashboard.FalseColor>
                        <db:ColorPoint HiColor="#666666" LowColor="#999999" Value="9" />
                    </db:BinaryDashboard.FalseColor>
                </db:RoundLed>

And the resultant control like this:

When the internet was all green fields and Web pages were garish no true Web page was complete without three important things

  • A tiled bright background
  • An under construction image
  • An animated horizontal break animated gif
  • We cant fix the first two with a RoundLed control, but we can resurrect the third like this

    But lets never, ever, do that again shall we?

Welcome page

Controls

  • DecadeVuMeter
  • Dial180
  • Dial360
  • DiamondSlider
  • FiveStarRanking
  • MatrixLedMarquee
  • Odometer
  • PerformanceMonitor
  • PlainThermometer
  • ProgressBar
  • RoundLed
  • SixteenSegmentLED
  • TickCross
  • WallThermometer

Bits and pieces

  • Bidirectional operation
  • Contacts and pages
  • Matrix font editor
Designed by Free CSS Templates, Thanks to Dubai Villas