Fluent.Ribbon icon indicating copy to clipboard operation
Fluent.Ribbon copied to clipboard

request: add a "Tell me what you want to do..." control like Office 2016

Open wstaelens opened this issue 9 years ago • 13 comments
trafficstars

Maybe add a "Tell me what you want to do..." control like Office 2016

from website:

Within Word, PowerPoint, and Excel, users will find the same menu options for File, Home, Insert, etc., but also a new “Tell me what you want to do…” search box. This long overdue addition, which first appeared in the Office Online service last year, searches Office commands with a simple keyword and activates them with a click. So a search for “pages” brings up options for inserting page breaks, viewing multiple pages, adding a cover, and more. screenshots: http://www.tabletpcreview.com/review/microsoft-office-2016-preview-hands-on/

wstaelens avatar Dec 15 '15 17:12 wstaelens

Any ideas on how to implement this? I currently got no plans on implementing this by myself.

batzen avatar Dec 16 '15 20:12 batzen

hmm well i have no idea if this is something that will be a "general" feature/option for ribbons or just an addition to Office itself.

wstaelens avatar Dec 22 '15 09:12 wstaelens

Actually, I sent you (batzen) a similar implementation of such a feature quite a long time ago, you probably never got the time to look into it. Still remember the search feature?

floele-ww avatar Jan 07 '16 13:01 floele-ww

Yeah, I remembered that. But I was unable to find it. Did you send it by mail or is it somewhere on github or codeplex?

batzen avatar Jan 09 '16 18:01 batzen

I sent it per mail. If you like, I can send you another implementation based on a more recent version of fluent. I could also make a fork but I suppose the feature needs a bit cleanup before merging into the official version.

floele-ww avatar Jan 12 '16 06:01 floele-ww

If you don't care about your name not showing in the commit history of this project you could create a fork and add your changes. I will then grab the changes and do the cleanup myself.

batzen avatar Jan 12 '16 09:01 batzen

I'm a bit busy with other issues currently, but I'll provide the code as soon as I can. I probably have to work on updating Fluent again before because of the window issues that have recently been fixed (hopefully).

floele-ww avatar Jan 20 '16 07:01 floele-ww

This would be really cool. Let me know if you need any help, I might find some time if needed :)

GeertvanHorrik avatar Feb 02 '16 08:02 GeertvanHorrik

I am still waiting for @floele-sp to provide the code.

batzen avatar Feb 02 '16 11:02 batzen

Didn't forget, coming soon ;)

floele-ww avatar Feb 02 '16 11:02 floele-ww

Made a rough commit here now: https://github.com/floele-sp/Fluent.Ribbon/commit/b221a469cf85aa0bee3e83f9bd97401a1fa5ea68 Feel free to merge and refine :)

floele-ww avatar Feb 02 '16 18:02 floele-ww

Will have a look at this after i got v4 out of the door.

batzen avatar Feb 06 '16 09:02 batzen

I created a control that kind of replicates this feature, but it is not perfect. Please note: This code works in Fluent.Ribbon Version 8, but could work in the latest version. Here is what I recommend changing in the ControlTemplate for RibbonTabControl: <Fluent:RibbonScrollViewer Grid.Column="1" Visibility="{Binding AreTabHeadersVisible, Converter={StaticResource boolToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}" HorizontalAlignment="Left" Margin="0" Width="Auto" Style="{DynamicResource RibbonTabScrollViewer}" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" IsHitTestVisible="True" IsTabStop="False"> <Grid> <StackPanel Orientation="Horizontal"> <Fluent:RibbonTabsContainer x:Name="PART_TabsContainer" IsItemsHost="True" Height="Auto" HorizontalAlignment="Stretch" Margin="0" KeyboardNavigation.TabIndex="1" /> <Controls:RibbonSearchControl MinWidth="170" MaxWidth="170" KeyTip="Q" Loaded="SearchText_Loaded" SearchMenuItemClicked="searchMenuItemClick"/> </StackPanel> </Grid> </Fluent:RibbonScrollViewer>

Attached is the source code for the controls and C# Data Model needed to interop to make this functionality work. RibbonSearchControl.zip

nkrs200 avatar Dec 15 '23 15:12 nkrs200

Closing because no one seems interested in helping with this.

batzen avatar May 01 '24 16:05 batzen