Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 06 22:57
    MarcelVersteeg closed #1070
  • Oct 06 22:57
    MarcelVersteeg commented #1070
  • Oct 06 22:11
    batzen commented #1070
  • Oct 06 21:42
    MarcelVersteeg opened #1070
  • Oct 03 14:33
    batzen commented #1069
  • Oct 03 14:06
    abdou31 commented #1069
  • Oct 03 13:57
    batzen commented #1069
  • Oct 03 13:37
    abdou31 commented #1069
  • Oct 03 13:36
    abdou31 commented #1069
  • Oct 03 13:31
    abdou31 commented #1069
  • Oct 03 13:18
    abdou31 commented #1069
  • Oct 03 13:12
    abdou31 commented #1069
  • Oct 03 13:04
    abdou31 commented #1069
  • Oct 03 11:50
    batzen commented #1069
  • Oct 03 10:49
    abdou31 opened #1069
  • Oct 02 08:38

    batzen on netSDK

    (compare)

  • Oct 02 08:05
    Build #1092 passed
  • Oct 02 07:58

    batzen on develop

    Updating SDK for appveyor build Merge pull request #1068 from f… (compare)

  • Oct 02 07:58
    batzen closed #1068
  • Oct 02 07:49
    Build #1091 passed
Anders Forsgren
@andersforsgren
Thanks Bastian, if I know I'm on the right track then I can keep digging. Just needed to know I was digging in the right spot.
Anders Forsgren
@andersforsgren

Fixed it: it was 2 separate issues 1) a build action/item type for the style xaml was incorrect in the csproj 2) When then it worked for most controls but not for a RibbonGroup I realized that was because my ribbon groups were broken out into separate file for each RibbonGroup, but that makes them user controls which are subclasses, which breaks the styling. Not sure if there is a simple way to split a large xaml (10k lines +) into files without usercontrols? I don't need any new behavior for each RibbonGroup, I just want a separate file. It feels like an oversight in WPF that "modularization" (splitting into user controls) breaks styling? I can't make the style's TargetType="Fluent:RibbbonGroupBox" also pick up all 200 sub classes of RibbonGroupBox I believe.

Thanks anyway - I'm sorted now.

Bastian Schmidt
@batzen
When you are inheriting from RibbonGroupBox and override the deafult style key.
WPF has great way to modularize components, but that also comes with a runtime cost. That's the reason why Fluent.Ribbon and also WPF itself only provide one large generic.xaml for consumers. Those files are generated from many small files during compile time.
Bastian Schmidt
@batzen
That's why I provide XAMLTools as an OSS project, so that others don't have to invest in getting combining right. One user reported window load time reductions from ~30 seconds to less than a second just by using a combined xaml file instead of many small ones.
秋水
@tomuGo
..
Qian Zhongxiang
@qianzhongxiang
image.png
Why did I add an icon for Backstage and it doesn't work?
image.png
Bastian Schmidt
@batzen
That's because Backstage inherits from RibbonControl, but it doesn't use Icon.
You have to use Header instead.
Qian Zhongxiang
@qianzhongxiang
Thanks, Bastian, I will try Header instead.
Qian Zhongxiang
@qianzhongxiang
hi, Bastian, I find if I put user control in Header, the click event will be ignored by Backstage. The BackstageAdorner opens when clicking the Backstage border, and nothing happened when clicking the icon in Header. I found the event handler code below.
image.png
This code snippet was cut from "Backstage.cs", and is it bringing the problem above?
Qian Zhongxiang
@qianzhongxiang
And how can I solve it?
Bastian Schmidt
@batzen
You can try to set IsHittestVisible to false on your control.
Qian Zhongxiang
@qianzhongxiang
Thanks, it works for me.
stefmancio
@stefmancio
hi
i'd like to style the menu that appears on right click of main ribbon
image.png
this one.. how can i reach this menu?
Bastian Schmidt
@batzen
It uses the default ContextMenu style, so overwriting that should also change the styling of that menu.
stefmancio
@stefmancio
thanks!
stefmancio
@stefmancio
sorry .. there is a way to style the "white line" that separe different groups?
image.png
the vertical line before the icon save... i'd like to chabge color to dark...
Bastian Schmidt
@batzen
image.png
I have no clue why it's so bright in your screenshot.
The default in the dark theme should look like this:
The resource key for the separator in groups is Fluent.Ribbon.Brushes.GroupSeparator.Background
and is of type Brush
Carla Rivera
@cprivera
Hello! Is there a place where I could look at like, a class definition for the DropDownButton and/or ComboBox? For context I'm working on some accessibility bugs and I just want to understand what my options are for what properties can be set with databinding, what templates are available and just in general the nitty gritty of the controls themselves to see if that might help me figure out why what we have now isn't working.... kinda picking at straws at this point and trying to find any documentation that could be remotely helpful haha
Bastian Schmidt
@batzen
Hi Carla. You can find the source code for the controls at https://github.com/fluentribbon/Fluent.Ribbon/tree/develop/Fluent.Ribbon/Controls and the code for the automation peers at https://github.com/fluentribbon/Fluent.Ribbon/tree/develop/Fluent.Ribbon/Automation/Peers. What exactly doesn't work? It would be nice if you could create one or multiple issues on GitHub for your problems. Maybe we can solve them together. Or if you want to fix them yourself it would be nice if you could contribute those fixes back through a pull request.
stefmancio
@stefmancio
hi Bastian thanks! the default theme was light.. i had to create a custom for the dark mode respecting colors of app dark mode (user can switch)..btw thanks! i solved with ur suggestion!
image.png
can i remove the line above (or make it transparent?)
the white one.. appears while the ribbon is not collapsed..
Bastian Schmidt
@batzen
@stefmancio Fluent.Ribbon comes with a dark theme built in (completely with the ability to sync with windows settings etc.), may i ask why you had to build your own?
The resource key you are looking for should be "Fluent.Ribbon.Brushes.RibbonTabItem.BorderBrush"
Carla Rivera
@cprivera
The issue is that Narrator is not able to read the tool tips set on DropDownButtons, I haven't exactly pinpointed if the problem is with the DropDownButton, the way the tool tip is set, or Narrator itself, although I don't think it's because of the way the tool tip is set because it can be successfully read in NVDA.... I've seen the issue in various instances where our application uses a DropDownButton though, so maybe that narrows it down?
I haven't check if every DropDownButton has this problem but every instance of the problem I've seen does involve a DropDownButton, if that clarifies a bit
Bastian Schmidt
@batzen
Are you using a regular tooltip or a ScreenTip? There is no special handling for the tooltip in the dropdownbutton automation peer, so the automation peer shouldn't be the cause.
Carla Rivera
@cprivera
We're using a regular tooltip for all of them
Bastian Schmidt
@batzen
That's strange. Could you create a small application reproducing the issue?
stefmancio
@stefmancio
@batzen Just i had to change some color cause i had to use the colors of the main theme of the app they asked me to make... I used light theme as default . cause was perfect, for the dark i had to make some modify so i could have colors they asked me to use...
stefmancio
@stefmancio
image.png
sorry i have the very last question :) , is it possible to disable this tooltip?
Bastian Schmidt
@batzen
It should be possible if you create a x:Null resource with the key Fluent.Ribbon.Resources.RibbonTabControl.DisplayOptionsScreenTip. Haven't tried it myself as i am currently on mobile only.
stefmancio
@stefmancio
hi! I can't make it work... null resource is ignored...
stefmancio
@stefmancio
can i at least override Background color just for that Displayoptionscreentip?
Bastian Schmidt
@batzen
Thereis no dedicated resource for the background of that single ScreenTip. If you want to change the background of that single ScreenTip you can replace it with your own. Have a look at https://github.com/fluentribbon/Fluent.Ribbon/blob/a30344e5c7d66cebf0f6b5003cfa94a74ef9d61d/Fluent.Ribbon/Themes/Controls/RibbonTabControl.xaml#L132 to see how it's defined.