C# Класс Open.Core.UI.Controls.StatusIcon

A red/green/orange/grey icon that can be used to indicate the health status of something.
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ColorProperty System.Windows.DependencyProperty
FlashDurationProperty System.Windows.DependencyProperty
IsFlashingProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
IconUrl string
OnIsFlashingChanged void
Pulse void
UpdateBackgroundIconVisibility void
UpdateIconColor void

Открытые методы

Метод Описание
StatusIcon ( ) : System
UpdateVisualState ( ) : void

Updates the visual state of the control.

Приватные методы

Метод Описание
IconUrl ( StatusIconColor color ) : string
OnIsFlashingChanged ( ) : void
Pulse ( ) : void
UpdateBackgroundIconVisibility ( ) : void
UpdateIconColor ( ) : void

Описание методов

StatusIcon() публичный Метод

public StatusIcon ( ) : System
Результат System

UpdateVisualState() публичный Метод

Updates the visual state of the control.
public UpdateVisualState ( ) : void
Результат void

Описание свойств

ColorProperty публичное статическое свойство

Gets or sets the color of the icon.
public static DependencyProperty,System.Windows ColorProperty
Результат System.Windows.DependencyProperty

FlashDurationProperty публичное статическое свойство

Gets or sets the duration (in seconds) that a single flash takes (pulse in and out).
public static DependencyProperty,System.Windows FlashDurationProperty
Результат System.Windows.DependencyProperty

IsFlashingProperty публичное статическое свойство

Gets or sets whether the icon is pulsing in and out.
public static DependencyProperty,System.Windows IsFlashingProperty
Результат System.Windows.DependencyProperty