Skip to main content

CreatePopupHost Method

Unstable.

Note: This API is unstable and may change in a future release.

Definition​

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

[UnstableAttribute("PopupHost is considered an internal API. Use Popup or any Popup-based controls (Flyout, Tooltip) instead.")]
public static IPopupHost CreatePopupHost(
Visual target,
IAvaloniaDependencyResolver? dependencyResolver
)

Parameters​

  Visual
 
  IAvaloniaDependencyResolver
 

Return Value​

IPopupHost

See Also​

Reference​

OverlayPopupHost Class
Avalonia.Controls.Primitives Namespace