question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable state selected in InRibbonGallery after click

See original GitHub issue

Hello. Thank you for your library! Is it possible disable state selected GalleryItem in InRibbonGallery after click on Item as like button?

default

And after click panel change alpha. Is it possible disable too? sdfsdf

My code:

<fluent:InRibbonGallery ItemHeight="55"
                        ItemWidth="80"
                        ItemsSource="{Binding SomeList}">
    <fluent:InRibbonGallery.ItemTemplate>
        <DataTemplate>
            <fluent:GalleryItem Tag="{Binding DisplayName}">
                <StackPanel>
                    <Image Source="{Binding ImageUri}"/>
                    <TextBlock Text="{Binding DisplayName}"/>
                </StackPanel>
            </fluent:GalleryItem>
        </DataTemplate>
    </fluent:InRibbonGallery.ItemTemplate>
</fluent:InRibbonGallery>

Sorry I did not find solution. Thank you!


Environment

  • Fluent.Ribbon 6.1.0.233
  • Windows 10
  • .NET Framework 4.6.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
batzencommented, May 13, 2019

You could use something like this:

<Fluent:InRibbonGallery.ItemContainerStyle>
    <Style TargetType="{x:Type Fluent:GalleryItem}">
        <Setter Property="Command"
                Value="{Binding MyCommand}" />
    </Style>
</Fluent:InRibbonGallery.ItemContainerStyle>
1reaction
batzencommented, Aug 6, 2018

It’s broken. Will fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

disable a button in a gallery after pressing
I just want to disable the button for that column in my gallery which is selected. 3.jpg. Message 5 of 9. 3,501 Views....
Read more >
Disable all buttons in a gallery when one is selected
When the user clicks a button somewhere (in a row) in the gallery all buttons must be set to 'disabled'. All buttons must...
Read more >
Working with Ribbon in Windows Forms Ribbon control
If single click on the Tab item, the ribbon will enter Auto Hide state. State change through minimize button. Ribbon can be minimized...
Read more >
How to show, hide and restore missing ribbon in Excel
Click Auto-hide Ribbon. This will totally hide the ribbon, including all tabs and commands. Hide ribbon completely including all tabs and ...
Read more >
Customize the ribbon options—ArcGIS Pro | Documentation
From an open project, click the Project tab on the ribbon. ... At any time, you can remove specific customizations or reset the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found