Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. UWP Flyout Problem

UWP Flyout Problem

Scheduled Pinned Locked Moved Graphics
help
3 Posts 2 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RWey
    wrote on last edited by
    #1

    I'm having an issue with a nested button flyout that I can't figure out. ( Screenshot of the problem --> Uwp Flyout Issue[^] ) Basically, a hamburger button's flyout contains a Splitview, where the pane is a Listview menu. When a menu item is chosen, the SplitView's content frame navigates to an associated page. Simple enough. On a menu page, if I have a button with a flyout that contains a ColorPicker, there seems to be some sort of dismiss area overlap problem. I've tried various combination of LightDismissOverlayMode settings on the SplitView and the button flyouts, to no avail. Here's the hamburgar button within the StackPanel of the main page:

    ... and the main layout StackPanel of the selected menu page that contains the ColorPicker in a button's flyout:

    L 1 Reply Last reply
    0
    • R RWey

      I'm having an issue with a nested button flyout that I can't figure out. ( Screenshot of the problem --> Uwp Flyout Issue[^] ) Basically, a hamburger button's flyout contains a Splitview, where the pane is a Listview menu. When a menu item is chosen, the SplitView's content frame navigates to an associated page. Simple enough. On a menu page, if I have a button with a flyout that contains a ColorPicker, there seems to be some sort of dismiss area overlap problem. I've tried various combination of LightDismissOverlayMode settings on the SplitView and the button flyouts, to no avail. Here's the hamburgar button within the StackPanel of the main page:

      ... and the main layout StackPanel of the selected menu page that contains the ColorPicker in a button's flyout:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You're varying different backgrounds; it looks like you're creating a partial transparency (which might be inherited).

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      R 1 Reply Last reply
      0
      • L Lost User

        You're varying different backgrounds; it looks like you're creating a partial transparency (which might be inherited).

        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

        R Offline
        R Offline
        RWey
        wrote on last edited by
        #3

        That's a good theory, and it led me to the solution. If you refer back to the picture linked in the OP, the problem smells of two transparencies overlapping each other, but even when removing all transparent colors from my code, the problem persisted. So, for a final test I went into my Windows Settings/Personalization/Colors and noticed "Transparency Effects" was enabled. Disabling it solved the problem, and I guess it makes sense since my app inherits its theme from the Windows settings on my PC. Nevertheless, this seems like an odd behavior from the base Windows theme for it to show up only when related to flyouts. I'm guessing there's a way to override the base theme on a child flyout, but for now I'm just going to leave Transparency Effects disabled. Thanks for nudging me in the right direction!

        Regards, R. Wey

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups