NotifyIconService.States Property
Gets or sets a collection of the tray icon’s states. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public ObservableCollection<NotifyIconState> States { get; set; }
#Property Value
Type | Description |
---|---|
Observable |
A collection of the tray icon’s states. |
#Remarks
Each Notification State is represented by an instance of the NotifyIconState class that provides the NotifyIconState.Icon and ToolTip properties specifying the tray icon’s image and tooltip respectively.
To switch between the predefined states, use the INotifyIconService.SetStatusIcon method. If you wish to reset the notification icon to the default image, use the INotifyIconService.ResetStatusIcon method.
Note
The Notify