Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 14 07:36
    batzen milestoned #719
  • Sep 14 07:36
    batzen demilestoned #719
  • Sep 14 07:35
    batzen closed #710
  • Sep 14 07:35
    batzen commented #710
  • Sep 14 07:33
    batzen commented #715
  • Sep 14 07:32
    batzen commented #718
  • Sep 14 07:32
    batzen demilestoned #718
  • Sep 14 07:30
    batzen closed #732
  • Sep 14 07:30
    batzen commented #741
  • Sep 14 07:28
    batzen commented #741
  • Sep 14 07:28
    batzen assigned #741
  • Sep 14 07:26
    batzen labeled #742
  • Sep 14 07:26
    batzen assigned #742
  • Sep 14 07:26
    batzen closed #742
  • Sep 14 07:26
    batzen commented #742
  • Sep 14 07:24
    batzen commented #733
  • Sep 12 05:53
    JasonXu-YK commented #742
  • Sep 12 05:52
    JasonXu-YK opened #742
  • Sep 03 16:59
    Build #519 passed
  • Sep 03 16:52

    dependabot-preview[bot] on nuget

    (compare)

Bastian Schmidt
@batzen
i don't understand what you mean with your last question
Cisco & Pipisco
@Pepyacker1996_twitter
Thanks
Cisco & Pipisco
@Pepyacker1996_twitter
I have troubles with button. Icon doesn't appears. I write address like this LargeIcon="pack://application:,,,/WpfApplication2;component/Resources/Print.png"
Bastian Schmidt
@batzen
Which build action do you have set for "Print.png"?
Is the path to it correct?
Cisco & Pipisco
@Pepyacker1996_twitter
Correct. Build Action is "Resource"
Cisco & Pipisco
@Pepyacker1996_twitter
@batzen I installed version 7.0 and it works! Now I have another one question. Fluent spinner shows decimal numbers, not integer. What you need to do so that it shows integers?
Bastian Schmidt
@batzen
Setting Format="0" on the spinner should work
Eugene
@JohnyL
@batzen Hi, Bastian! Your advice about designer issue doesn't work... Still empty window ((
It's about VS 2019 (16.0.2)
Today the Ribbon was shown once, but then... had gone again... :(
In VS 2017 all is OK.
Bastian Schmidt
@batzen
@JohnyL The designer in VS was buggy and as you noticed seems to have gotten worse in 2019. I'd suggest you report the issue to Microsoft as i can't do anything about it.
Eugene
@JohnyL
@batzen Yesterday I tried several times to create new project and display Ribbon, and after third attempt it did appear :)
Eugene
@JohnyL
By the way, I noticed flickering when switching between Designer and XAML modes....
Bastian Schmidt
@batzen
You should also report the flicker issue to Microsoft then.
Cisco & Pipisco
@Pepyacker1996_twitter
How to find icons for ribbon elements?
Patrick Schimmel
@pschimmel
Hi! Is there a way to hide a StatusBarItem from the context menu and therefore make it always visible? I want to add a progress bar, but I don't want the user to disable it.
Cisco & Pipisco
@Pepyacker1996_twitter
How to make icon left align for DropButton?
Bastian Schmidt
@batzen
@pschimmel That's currently not possible. Could you create an issue on github for that?
@Pepyacker1996_twitter You'll have to find icons. Fluent.Ribbon does only provide a few icons which are needed for the basic UI. You could try to use https://github.com/MahApps/MahApps.Metro.IconPacks
And i don't understand what you mean with "left align for DropButton"
Cisco & Pipisco
@Pepyacker1996_twitter
ItemTemplate doesn't work in DropDownButton
And i don't know why
Patrick Schimmel
@pschimmel
@batzen The link to the MIT License on https://fluentribbon.github.io is broken
Bastian Schmidt
@batzen
@pschimmel Fixed. Thanks for pointing that out.
Wojciech Sura
@spook_gitlab
Hi
I've noticed, that Fluent.Ribbon steals focus when buttons are clicked, which is undesirable in a text editor (cursor disappears from the text editor). What is the proper way of controlling focus in Fluent.Ribbon? Is there some specific method/property, or should I just disable focus on every single part of Ribbon I find?
eg.
<Style TargetType="f:Ribbon">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:RibbonTabControl">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:RibbonTabItem">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:RibbonGroupBox">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:RibbonGroupsContainer">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:Button">
<Setter Property="Focusable" Value="False" />
</Style>
<Style TargetType="f:ApplicationMenu">
<Setter Property="Focusable" Value="False" />
</Style>
Bastian Schmidt
@batzen
You could try to use a focus scope as it's done in the showcase application on the copy/paste buttons.
Setting FocusManager.IsFocusScope="True"on your group or even the whole ribbon might work. I wouldn't set it too high in the scope/tree as that might have undesired side effects. I don't remember which ones exactly.
Wojciech Sura
@spook_gitlab
Thanks for the info, I'll check that.
Splitwirez
@Splitwirez
...from what I've gathered, Fluent.Ribbon used to include several visually distinct themes, including one modeled after Office 2010...out of curiousity, what were the others? :thinking:
Bastian Schmidt
@batzen
Office 2013. But it was too time consuming for me to support multiple themes. Nowadays i try to align with the theme of the current office version. There is already a PR that started the work for the smaller, one line, ribbon style you have in the current office version,but i still had no time to have a look at that, which i am very sorry for.
redcican
@redcican
margin.png
Hi, I was trying to implement my startscreen, I want to set the background of leftcontent, but why there is always a margin?
Jakub Podlaha
@kub1x
Hey, would the Fluent.Ribbon work with .NET Framework 4.0? I need WinXP support for my WPF desktop app and would like a ribbon style Window. I only see the .NET 3.0 SDK in dev requirements, but am not sure how it is connected to .NET framework.
Splitwirez
@Splitwirez
Just checked, and I only see build configurations for .NET Framework 4.5, .NET Framework 4.6.2, and .NET Core 3...
(I may be missing something though idk)
Bastian Schmidt
@batzen
.NET 4.0 and windows XP are not supported anymore. If you want to use the ribbon on windows xp you'll have to use an older version of the ribbon.
@redcican you can use LeftContentMargin on the StartScreenTabControl to remove the margin
Splitwirez
@Splitwirez
BTW, I was wondering...do you have any sense of how frequently changes which warrant maintenance work on the control styles occur, on average? Even roughly?
Bastian Schmidt
@batzen
I never counted that. It mainly depends on the issues/new features that come up on github.
Splitwirez
@Splitwirez
Fair enough.
advapiIT
@advapiIT
Hello to everybody, I'm new to Fluent Ribbon (I've discovered it via Orchestra, a composable MVVM Framework)
I was wondering if there's a way to load data on demand, I mean. I've got this
 <fluent:Ribbon.Menu >
                <fluent:Backstage >
                    <fluent:BackstageTabControl >
                        <fluent:BackstageTabItem Header="Ascensori">
                            <views:AscensoriMainView></views:AscensoriMainView>
                        </fluent:BackstageTabItem>
                        <fluent:BackstageTabItem Header="Rapporti elettrici">
                            <views1:RapportiElettriciMainView></views1:RapportiElettriciMainView>
                        </fluent:BackstageTabItem>
                        <fluent:BackstageTabItem Header="Scariche Elettriche">
                            <views2:ScaricheElettricheMainView></views2:ScaricheElettricheMainView>
                        </fluent:BackstageTabItem>
                        <fluent:BackstageTabItem Header="Esplosioni">
                            <views3:EsplosioniMainView></views3:EsplosioniMainView>
                        </fluent:BackstageTabItem>
I wish to load the content of the BackStageTabItem at it's click, not before
is it possible somehow? and is this also possible to have the Backstage loaded as default?
Bastian Schmidt
@batzen
If you want to load the backstage by default you can set IsOpen=True by default or, if you want a different startup experience like in office, you can you StartScreen in addition to your Backstage
Regarding lazy loading the UI, i am doing this by binding the content of the tab items to a Lazy property on my viewmodels. A different way for you would be to place some viewmodel as the content and create DataTemplates for them. That way the DataTemplate should only be resolved, thus creating your UI, when the tab is selected.
DrTiBiBo
@DrTiBiBo
Hello All, a short question about Fluent:MenuItem.
Is there any way to increase size of this component like for Button - SizeDefinition property. I want to create a drop down menu from SplitButton with large icons and right positioned text.
Thanks in advance