Intersoft ClientUI Documentation
IsInPopup Method



The element to query.
Popup element.
Determines whether the given element is contained in a Popup.
Syntax
Public Shared Function IsInPopup( _
   ByVal element As UIElement, _
   ByRef popup As FrameworkElement _
) As Boolean
Dim element As UIElement
Dim popup As FrameworkElement
Dim value As Boolean
 
value = Utility.IsInPopup(element, popup)
public static bool IsInPopup( 
   UIElement element,
   ref FrameworkElement popup
)
public:
static bool IsInPopup( 
   UIElement^ element,
   FrameworkElement^% popup
) 

Parameters

element
The element to query.
popup
Popup element.
Requirements

Target Platforms: 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

Reference

Utility Class
Utility Members

Send Feedback