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
Qian Zhongxiang
@qianzhongxiang
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.
Carla Rivera
@cprivera
Just following up, I don't believe the issue was with the Fluent.Ribbon DropDownButton, it's been resolved as external to Narrator. Thanks for the help!
Bastian Schmidt
@batzen
You are welcome. I'm glad it wasn't my fault 🤣
stefmancio
@stefmancio
@batzen solved! thanks!! now is perfect ;)
gschlitt
@gschlitt
How do I set the font (fontweight, in particular) for a header in a ribbontabitem?
Bastian Schmidt
@batzen
Header is of type object so you can use whatever you want as the header.
So to change the fontweight you can use a textblock with your desired properties being set.
OliverGottschalk
@OliverGottschalk
Is there a way to change the width of the Startscreen tabs?
Bastian Schmidt
@batzen
You can use ItemsPanelMinWidth on StartScreenTabControl to change the width.
Carla Rivera
@cprivera
I'm working on an accessibility issue where when our application is viewed with the system text size set to 200% in a 1280x768 resolution screen, various of the buttons in the Ribbon are cut off/the text gets cut off. Do you think this is an issue that should be resolved in the styling of the buttons or the RibbonGroupBox ? I'm not sure which would make the most sense and/or be easier...