The Notification Badges allow you to notify your users about every important event that requires their attention. Almost all of the settings related to notification badges are exposed in the NotificationBadgeSettings
property, which can be found on various levels throughout the UltraTree
– you can find them on the Override
property contained by the Tree and by each Node. The settings are resolved by using first the more specific instance and then the more general ones. For example, if we show a notification badge on a node on the tree, the notification settings on the node will take precedence over the notification settings on the tree. The only property related to the NotificationBadges that isn’t part of the NotificationBadgeSettings
class is the NotificationBadgeText
, which can be found directly on each node.
The size of the NotificationBadges is determined by the size of its contents and it is limited by the size of the DisplayArea
. If you have a badge with text, the size of the notification will be the size needed to display the text with the specified font, as long as this size isn’t bigger than its display area. If you show an image, the NotificationBadge will use the image size (again if it isn’t bigger than its display area).