Version

AddNotificationUIElementIfPossible Method

Adds the NotificationUIElement, if it the GetResolvedVisibility method returns true
Syntax
'Declaration
 
Public Shared Function AddNotificationUIElementIfPossible( _
   ByVal parent As UIElement, _
   ByVal notificationProvider As INotificationBadgeProvider _
) As Boolean
public static bool AddNotificationUIElementIfPossible( 
   UIElement parent,
   INotificationBadgeProvider notificationProvider
)

Parameters

parent
The parent UIElement
notificationProvider
The Notification Provider, which determines most of the settings for the UIElement

Return Value

True if the element was successfully added, false otherwise
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also