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

Support custom style for LayoutAutoHideWindowControl's inner Grid #498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scasteran
Copy link

Summary
This change adds support for specifying a custom style to be used for the Grid used as the parent container in LayoutAutoHideWindowControl.

Description of the Problem
Because of the way the inner Grid is created in LayoutAutoHideWindowControl, it is not possible to customize its style. (Adding a style allows applying a RenderTransform, which is needed to carry over the parent application's zoom to the LayoutAutoHideWindowControl content.)

Proposed Solution
This code adds a property to allow a custom style to be specified for the inner Grid that is created in LayoutAutoHideWindowControl. If the property is not set, the code will behave as before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant