/TeachingTipBug

TeachingTip do not show while creating in code behind

Primary LanguageC#

TeachingTipBug

Describe the bug

TeachingTip do not show when creating in .cs code.

Steps to reproduce the bug

Steps to reproduce the behavior: <Button x:Name="SaveButton" Content="Save" Tapped="Button_Tapped"/>

        private void Button_Tapped(object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
        {
            MUXC.TeachingTip tip = new MUXC.TeachingTip();
            tip.Title = "Error";
            tip.Subtitle = "It seems you are not connected to the Internet :(";
            tip.CloseButtonContent = "OK";
            tip.IsLightDismissEnabled = true;
            tip.IsOpen = true;
        }

Version Info

NuGet package version: Microsoft.UI.Xaml 2.1.190606001

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Anniversary Update (14393)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT