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

Checked mark + Icon image at Menuitem #509

Closed
tangible-idea opened this issue Jan 29, 2018 · 3 comments
Closed

Checked mark + Icon image at Menuitem #509

tangible-idea opened this issue Jan 29, 2018 · 3 comments
Assignees
Milestone

Comments

@tangible-idea
Copy link
Contributor

tangible-idea commented Jan 29, 2018

is it possible to show checked mark + icon image at Menuitem somehow?
I wanted to highlight the checked Menuitem which belongs to DropdownButton.
But the menuitem has icon property too. so, what I expected was like this..

Please refer to this screenshot, it's a capture program called picpick. I don't know what environment they adopt.
untitled

So I'd like to know there's any way to implement this way..
thank you :)

For reference, here's the code snippet I've tried.

<Fluent:DropDownButton ...>
<Fluent:MenuItem Header="menu1"
    IsChecked="{Binding IsCurrentControlStrokeFilled, Converter={StaticResource  BoolInverterConverter}}"
 IsCheckable="True" 
Icon="./Resources/Images/icons8-unavailable-24.png"/>
...
</Fluent:DropDownButton>

Environment

  • Fluent.Ribbon 5.0.2.46
  • Windows 10.1709
  • .NET Framework 4.5
@batzen
Copy link
Member

batzen commented Jan 29, 2018

Can't view the image. Page seems unavailable. You should be able to drag and drop the image directly in an comment or the issue itself.

@batzen
Copy link
Member

batzen commented Feb 1, 2018

Ah, now i get it.

You want the icon to represent the check state instead of a separate checkbox?
If that is what you want i will try to come up with something like that.

@batzen
Copy link
Member

batzen commented Feb 3, 2018

Like this?
menuitemcheckedimage

@batzen batzen self-assigned this Feb 3, 2018
@batzen batzen changed the title checked mark + Icon image at Menuitem Checked mark + Icon image at Menuitem Feb 3, 2018
@batzen batzen added this to the 6.1.0 milestone Feb 3, 2018
@batzen batzen closed this as completed in f4a48ce Feb 3, 2018
batzen added a commit that referenced this issue Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants