Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metro popover support #1603

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Metro popover support #1603

wants to merge 11 commits into from

Commits on Oct 18, 2014

  1. Configuration menu
    Copy the full SHA
    1dbd77c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2014

  1. Configuration menu
    Copy the full SHA
    07e7aa7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41d682e View commit details
    Browse the repository at this point in the history
  3. Style updates

    charlesw committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    272bd6c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2014

  1. Configuration menu
    Copy the full SHA
    2f6946d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f67ef91 View commit details
    Browse the repository at this point in the history
  3. Fixed popup event handling bug

    Previously the owning window's PreviewMouseDown event, used to auto close the popover, was being subscribed to
    on the popover's load event and unsubscribed on unload however this didn't take into account that the Load could be called multiple
    times. The popover now keeps track of if it's subscribe to the given event using a disposable handler, which is also used
    to unsubscribe.
    charlesw committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    b17f5ee View commit details
    Browse the repository at this point in the history
  4. MetroPopover fixes

    * Background and Foreground colors are now dynamically applied using the WhiteBrush and BlackBrush respectively.
    * MetroPopover doesn't partake in layout (Visibility is always Collapsed).
    * Popover adorner is only attached when open.
    charlesw committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    5e292f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0fbfd9e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2014

  1. Fixed popover theme issues.

    Turned out that the popover needed a logical tree like this:
    
    MetroPopover -> MetroPopoverWindow -> Popover content
    
    This is presumably because WPF uses the logical tree, rather than visual tree
    when refreshing Dynamic Resources.
    charlesw committed Oct 25, 2014
    Configuration menu
    Copy the full SHA
    d6e17af View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2014

  1. Fixed autoclose no longer closes popover on selecting Combo Box item.

    Previously clicking a dropdown item would cause the containing popover
    to close if it's AutoClose is set to True (default). This occured because the
    combobox uses a popup to display the dropdown which is outside the
    popovers visual tree which meant the popover thought that the user had
    clicked elsewhere in the window. This is fixed by using DependancyObject.GetParentObject()
    which falls back to the logical tree when required.
    charlesw committed Oct 26, 2014
    Configuration menu
    Copy the full SHA
    ab76211 View commit details
    Browse the repository at this point in the history