C# Class Open.Core.UI.Controls.StatusIcon

A red/green/orange/grey icon that can be used to indicate the health status of something.
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
ColorProperty System.Windows.DependencyProperty
FlashDurationProperty System.Windows.DependencyProperty
IsFlashingProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
IconUrl string
OnIsFlashingChanged void
Pulse void
UpdateBackgroundIconVisibility void
UpdateIconColor void

Méthodes publiques

Méthode Description
StatusIcon ( ) : System
UpdateVisualState ( ) : void

Updates the visual state of the control.

Private Methods

Méthode Description
IconUrl ( StatusIconColor color ) : string
OnIsFlashingChanged ( ) : void
Pulse ( ) : void
UpdateBackgroundIconVisibility ( ) : void
UpdateIconColor ( ) : void

Method Details

StatusIcon() public méthode

public StatusIcon ( ) : System
Résultat System

UpdateVisualState() public méthode

Updates the visual state of the control.
public UpdateVisualState ( ) : void
Résultat void

Property Details

ColorProperty public_oe static_oe property

Gets or sets the color of the icon.
public static DependencyProperty,System.Windows ColorProperty
Résultat System.Windows.DependencyProperty

FlashDurationProperty public_oe static_oe property

Gets or sets the duration (in seconds) that a single flash takes (pulse in and out).
public static DependencyProperty,System.Windows FlashDurationProperty
Résultat System.Windows.DependencyProperty

IsFlashingProperty public_oe static_oe property

Gets or sets whether the icon is pulsing in and out.
public static DependencyProperty,System.Windows IsFlashingProperty
Résultat System.Windows.DependencyProperty