Version

FromControl Method (UltraPeekPopup)

Returns a dropped down UltraPeekPopup that contains the specified control.
Syntax
'Declaration
 
Public Shared Function FromControl( _
   ByVal control As Control _
) As UltraPeekPopup
public static UltraPeekPopup FromControl( 
   Control control
)

Parameters

control
Control to evaluate. May be the control dropped down from the button or a child of that control.

Return Value

The UltraPeekPopup displaying the specified control in a Peek window or null if the control is not contained in a dropdown from an UltraPeekPopup
Remarks

The FromControl method will return the UltraPeekPopup instance that is currently displaying the specified control or an ancestor of the specified control.

Note The Peek window must be displayed or the associated UltraPeekPopup will not be available from this method.

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