Class PopupContainer
- Namespace
 - Nalu
 
- Assembly
 - Nalu.Maui.Layouts.dll
 
The Border acting as a container for the popup content.
public sealed class PopupContainer : Border, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBorderView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IBorderStroke, IStroke
  - Inheritance
 - 
      
      
      
      
      
      
      
      
      PopupContainer
 
- Implements
 
- Inherited Members
 
Remarks
This class is used to provide a visual container for the popup content. It can be styled and customized as needed.
<Style TargetType="nalu:PopupContainer">
    <Setter Property="Background" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource OffBlack}}" />
    <Setter Property="Margin" Value="16" />
    <Setter Property="StrokeShape" Value="RoundRectangle 24" />
    <Setter Property="StrokeThickness" Value="0" />
    <Setter Property="VerticalOptions" Value="Center" />
    <Setter Property="HorizontalOptions" Value="Center" />
</Style>
Fields
OverlapsSafeAreaProperty
Bindable property for OverlapsSafeArea.
public static readonly BindableProperty OverlapsSafeAreaProperty
  Field Value
Properties
OverlapsSafeArea
Gets or sets whether this popup container should overlap safe area when needed
public bool OverlapsSafeArea { get; set; }
  Property Value
Methods
OnParentSet()
Raises the (internal) ParentSet event.
protected override void OnParentSet()
  Remarks
Will set the NavigationProxy's inner navigation object to closest topmost element capable of handling navigation calls.
- See Also