Makes the popup relative to another FrameworkElement.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public static void MakeRelative( this Popup popup, FrameworkElement relativeElement, Func<List<AnchorMatching>> getLocations ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Sub MakeRelative ( _ popup As Popup, _ relativeElement As FrameworkElement, _ getLocations As Func(Of List(Of AnchorMatching)) _ ) |
Parameters
- popup
- Type: System.Windows.Controls.Primitives..::..Popup
Popup to handle.
- relativeElement
- Type: System.Windows..::..FrameworkElement
Element used to locate the popup.
- getLocations
- Type: System..::..Func<(Of <(<'List<(Of <(<'AnchorMatching>)>)>>)>)>
Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.