Class PopupScrim
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Layouts.dll
The ViewBox acting as a scrim for the popup.
public sealed class PopupScrim : ViewBox, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ISafeAreaView, IViewBox, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
- Inheritance
-
PopupScrim
- Implements
- Inherited Members
Remarks
This class is used to provide a semi-transparent background that covers the entire screen, allowing the popup to stand out. It can be styled and customized as needed.
<Style TargetType="nalu:PopupScrim">
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light='#20000000', Dark='#20FFFFFF'}" />
</Style>