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

Expose GroupByAdvanced from GalleryPanel on Gallery and InRibbonGallery #340

Closed
polepage opened this issue Aug 23, 2016 · 3 comments
Closed
Assignees
Milestone

Comments

@polepage
Copy link

polepage commented Aug 23, 2016

Should I actually want to use that? Is GroupByAdvanced accessible in some way from the gallery in xaml or do I need to change the gallery template to set this value on the GalleryPanel?

Thank you

Environment

  • Fluent.Ribbon v4.0.3.394
  • Theme Office 2013
  • Windows 10
  • .NET Framework 4.6.1
@batzen
Copy link
Member

batzen commented Oct 18, 2016

You can provide your own method (func<object, string>) to determine the group for a given item.
Does that answer your question?

@batzen batzen added the Question ❓ Not an issue but a question instead. label Oct 18, 2016
@polepage
Copy link
Author

Actually I wanted to know if that was usable directly on the Gallery instance.

The Gallery class has a GroupBy property that I can use with a string.
The GalleryPanel class has the GroupBy property and the GroupByAdvanced property.

Since my xaml file exposes only the Gallery instance, I had to use a behavior/code behind to bind my function to the underlying GalleryPanel of the Gallery.

Is there a way to do this directly on the Gallery? And if not, is it desirable to expose this on the Gallery class?

@batzen
Copy link
Member

batzen commented Oct 21, 2016

Will have a look at this.

@batzen batzen added Feature 🥇 and removed Question ❓ Not an issue but a question instead. labels Oct 29, 2016
@batzen batzen added this to the 6.0.0 milestone Oct 29, 2016
@batzen batzen self-assigned this Oct 29, 2016
@batzen batzen changed the title How to use GroupByAdvanced? Expose GroupByAdvanced from GalleryPanel on Gallery and InRibbonGallery Oct 30, 2016
@batzen batzen closed this as completed in b90ad54 Oct 30, 2016
@batzen batzen modified the milestones: 5.0.0, 6.0.0 Oct 30, 2016
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