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

Flipview to have styleable attributes like other controls #3910

Closed
Christopher-Andrews opened this issue Aug 24, 2020 · 1 comment · Fixed by #3979
Closed

Flipview to have styleable attributes like other controls #3910

Christopher-Andrews opened this issue Aug 24, 2020 · 1 comment · Fixed by #3979
Assignees
Milestone

Comments

@Christopher-Andrews
Copy link

Hi,

At the moment the Flipview controls banner and arrow colours are connected to the app theme and are only changed by setting either light or dark for the entire app itself. I propose it to be style-able via tags similar to other controls e.g.

    <mah:MetroWindow.Resources>
        <ResourceDictionary>
            <Style x:Key="{x:Type Flip}"
       TargetType="{x:Type ToolTip}">
                <Setter Property="Background" Value="#d9e1e9" />
                <Setter Property="Foreground" Value="#000000" />
            </Style>
        </ResourceDictionary>
    </mah:MetroWindow.Resources>

This would allow the control to use accent colours etc, maybe even variable sizes and make it a little more flexible overall.

@timunie
Copy link
Collaborator

timunie commented Aug 25, 2020

I would like to jump in this Hacktoberfest

My idea is:

  • Add a Style for the Buttons
  • Add a DataTemplate for the Buttons Contents
  • Add a DataTemplate for the Banner

Anything missing?

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

Successfully merging a pull request may close this issue.

3 participants