I have this code and I would like to open a popup on a button click for users to input a date along with a date picker and then pass the date as the parameter.
<StackPanel>
<BarContainerControl>
<BarSubItem Content="List">
<BarButtonItem Content="Button" Command="{Binding cnt}"></BarButtonItem>
</BarSubItem>
</BarContainerControl>
</StackPanel>
private void HandleStuff()
{
//Does stuff here
}
I have tried multiple things like PopupBaseEdit and FlyoutControl it didn't work.