MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>,Func<Point>,Func<Point>) Method
 
            
                In This Topic
            
            Makes the popup relative to another Windows.UI.Xaml.FrameworkElement.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Overloads Shared Sub MakeRelative( _
   ByVal  As Windows.UI.Xaml.Controls.Primitives.Popup, _
   ByVal  As Windows.UI.Xaml.FrameworkElement, _
   ByVal  As System.Func(Of List(Of AnchorMatching)), _
   ByVal  As System.Func(Of Point), _
   ByVal  As System.Func(Of Point) _
) 
             
        
            
            public static void MakeRelative( 
   Windows.UI.Xaml.Controls.Primitives.Popup ,
   Windows.UI.Xaml.FrameworkElement ,
   System.Func<List<AnchorMatching>> ,
   System.Func<Point> ,
   System.Func<Point> 
)
             
        
             
        
            Parameters
- popup
 
- Windows.UI.Xaml.Controls.Primitives.Popup to handle.
 - relativeElement
 
- Element used to locate the popup.
 - getLocations
 
- Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.
 - getPosition
 
- Function that retrieves the current position of the Popup.
 - getReferencePosition
 
- Function that retrieves the current position of the reference element.
 
            
             
            
            
            
            
            
            
            
            
            
            
            
            See Also