MatthL.WPF.Essentials.SmartPopups 0.9.0

dotnet add package MatthL.WPF.Essentials.SmartPopups --version 0.9.0
                    
NuGet\Install-Package MatthL.WPF.Essentials.SmartPopups -Version 0.9.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MatthL.WPF.Essentials.SmartPopups" Version="0.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MatthL.WPF.Essentials.SmartPopups" Version="0.9.0" />
                    
Directory.Packages.props
<PackageReference Include="MatthL.WPF.Essentials.SmartPopups" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MatthL.WPF.Essentials.SmartPopups --version 0.9.0
                    
#r "nuget: MatthL.WPF.Essentials.SmartPopups, 0.9.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MatthL.WPF.Essentials.SmartPopups@0.9.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MatthL.WPF.Essentials.SmartPopups&version=0.9.0
                    
Install as a Cake Addin
#tool nuget:?package=MatthL.WPF.Essentials.SmartPopups&version=0.9.0
                    
Install as a Cake Tool

SmartPopup

NuGet License: MIT

Finally, a WPF popup that works like it should!

✨ Features

  • Closes automatically when the window moves
  • Stays open when clicking inside child elements (even nested popups!)
  • Perfect popup stacking - manage multiple popup layers effortlessly
  • SmartPopupButton - combines Button + Popup in one control
  • Transparent by default - style it your way

Installation

dotnet add package MatthL.WPF.Essentials.SmartPopups

Usage for popup

xmlns:smartpopup="clr-namespace:MatthL.WPF.Essentials.SmartPopups;assembly=MatthL.WPF.Essentials.SmartPopups" 

<smartpopup:SmartPopupButton PreferredPlacement="Left"/>
var popup = new SmartPopup();
popup.TargetControl = MyView;
popup.Content = MyViewForThePopup;
popup.IsOpen = true;

Usage for SmartPopupButton

xmlns:smartpopup="clr-namespace:MatthL.WPF.Essentials.SmartPopups;assembly=MatthL.WPF.Essentials.SmartPopups" 

<smartpopup:SmartPopupButton PreferredPlacement="Left">
    <smartpopup:SmartPopupButton.ButtonContent>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Text="Cliquez-moi" Height="50"/>
            <TextBlock Text="Ici" Height="50" Grid.Column="1"/>
        </Grid>
                        
    </smartpopup:SmartPopupButton.ButtonContent>

    <smartpopup:SmartPopupButton.PopupContent>
        <Border Background="White" BorderBrush="Gray" BorderThickness="1" Padding="10">
            <TextBlock Text="Hello from popup!"/>
        </Border>
    </smartpopup:SmartPopupButton.PopupContent>
</smartpopup:SmartPopupButton>

📄 License

MIT License - see LICENSE file for details.

<div align="center"> Made with ❤️ by <a href="https://github.com/LapercheMatthieu">Matthieu L</a> </div>

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MatthL.WPF.Essentials.SmartPopups:

Package Downloads
MatthL.WPF.Essentials

Toolbox for WPF contenaing controls with the smartpopup, converters and styles

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.0 187 9/27/2025