示例#1
0
        public VolumeControlPopup()
        {
            InitializeComponent();

            AllowsTransparency = true;
            StaysOpen          = false;

            Opened += (_, __) =>
            {
                AccentPolicyLibrary.SetWindowBlur(this, isEnabled: true, enableBorders: false);
                AppItems.Focus();
            };
        }
 private void VolumeControlPopup_Opened(object sender, EventArgs e)
 {
     AccentPolicyLibrary.SetWindowBlur(this, isEnabled: true, enableBorders: false);
     AppItems.Focus();
 }