Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 22 20:50
    Build #696 passed
  • Oct 22 20:46

    batzen on master

    Merge branch 'master' into deve… Using a different approach to e… Using "is null" everywhere and 3 more (compare)

  • Oct 22 20:17
    Build #695 passed
  • Oct 22 20:12

    batzen on develop

    Enabling more WPF analyzers (compare)

  • Oct 22 20:04
    Build #694 passed
  • Oct 22 20:00

    batzen on develop

    Changing dependency property do… (compare)

  • Oct 22 16:12
    Build #693 passed
  • Oct 22 16:07

    batzen on develop

    Using "is null" everywhere (compare)

  • Oct 22 09:26
    Build #692 passed
  • Oct 22 09:21
    batzen milestoned #856
  • Oct 22 09:21
    batzen labeled #856
  • Oct 22 09:21
    batzen closed #856
  • Oct 22 09:21

    batzen on develop

    Using a different approach to e… (compare)

  • Oct 22 07:16
    Build #691 passed
  • Oct 22 07:12

    batzen on develop

    Delete generated color scheme X… Merge branch 'develop' Merge branch 'master' into patc… and 4 more (compare)

  • Oct 22 06:36
    Build #690 passed
  • Oct 22 06:32

    batzen on master

    Trying to get gitversion right (compare)

  • Oct 22 06:01
    batzen labeled #846
  • Oct 22 05:30
    Build #689 passed
  • Oct 22 05:26
    Build #688 passed
SuperLeiyan
@SuperLeiyan
@batzen Thanks heaps, using SelectedFilter worked for me, but it seems like GalleryPanel doesn't resize properly after applying a filter, I had to calculate and set the height manually.
Also how can I left align the content of InRibbonGallery?
image.png
Bastian Schmidt
@batzen
@SuperLeiyan Could you create an issue on github for that and attach your repro to that? I guess that's a bug in Fluent.Ribbon.
SuperLeiyan
@SuperLeiyan
@batzen I've opened issues on github
jeff8979
@jeff8979
ok work out
dariush
@eulerleibniz
Hi. Just started using Fluent.Ribbon. Used Nuget to install Fluent.Ribbon v7.0.1 in visual studio 2019. Followed steps and used example provided in documentation Basic Setup . Got 2 big problems;
  1. Although my icons show up in run mode, they don't show in design time, instead some red X shows up.
  2. Every time I close the window, I get this Exception: (System.Threading.Tasks.TaskCanceledException: 'A task was canceled.')
    Could someone please help me on this?
Bastian Schmidt
@batzen
Problem 1. is because the resources can't be resolved properly during design time.
Problem 2. is most likely caused by .net itself. Does your application crash or do you just get that exception when debugging?
dariush
@eulerleibniz
Thanks for quick response.
Problem 1: Just found out resources can't be resolved properly during design time only when using Relative addressing, Although for other controls Relative path works. Using Complete path to the images works fine.
Problem 2: It only happens during Debugging only when i close the window, but not always. It seems i won't get any exceptions, until i get one and then i always get it. I assumed this might be related to those states that Fluent.Ribbon holds for things like "Collapse The Ribbon" state. I tried closing window in different states, but didn't get exception. Until I got the exception again for no reason that I can understand. Should I just ignore it? Regards
Suraj Wellala
@surajlk
Hi Bastian,
I have upgraded to Ribbon 7.0.1 along with ControlzEx 4.2.2. Then changed application Target Framework to 4.6.2. Change all backend coding as instructed in the manual but I get following warning Severity Code Description Project File Line Suppression State
Warning Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. Visit http://docs.nuget.org/docs/workflows/reinstalling-packages for more information. Packages affected: ControlzEx, Fluent.Ribbon 0 .
3aughtmaxon
@3aughtmaxon
Hello, I've started using the built in Fluent.Ribbon themeing. It works great except when using WPF expanders. The expander itself and its children do not inherit any of the styles. How can I get on track to fixing this?
Bastian Schmidt
@batzen
@eulerleibniz could you post the stacktrace of the exception you get? Then i should be able to tell if it's safe to ignore.
@surajlk could you try to clean build your project. I guess nuget cached something from before the update.
@3aughtmaxon do you have a sample? Where do you use an expander?
Patrick Schimmel
@pschimmel
Hi! For some reason the minimize/maximize arrow to collapse/expand the ribbon appears black in out application. Is there an easy way to change it's style/color?
Suraj Wellala
@surajlk
yes. it worked. Thanks a lot. Ribbon 701 is extremely good. great work!
Patrick Schimmel
@pschimmel
Untitled.png
Bastian Schmidt
@batzen
@pschimmel The minimize button uses Fluent.Ribbon.Brushes.Images.RibbonCollapseas it's pen color/brush. Sorry for the late response.
Patrick Schimmel
@pschimmel
Thank you! that helped :)
Patrick Schimmel
@pschimmel
Is it possible to add to the documentation how the sizing of InRibbonGalleries works? Galleries can have any number of columns. I don't know how the resizing of galleries is related to the state of the RibbonGroupBox.
Also in that context: Can I have an InRibbonGallery and other controls in the same RibbonGroupBox?
zthking
@zthking
Hello, I have a question on the StartScreen. Is there a way to the width of the StartScreenTabControl.LeftContent.
Bastian Schmidt
@batzen
@pschimmel sorry for the late response. you can have any number of controls inside a single RibbonGroupBox. but the scaling of controls only works per groupbox, so if you have to inribbongalleries inside one groupbox they are scaled at the same time and are thus tied together.
the scaling of InRibbonGalleries is quite simple as the code just tries to increase/decrease the number of currently displayed items per row while staying in the user defined min/max items per row.
@zthking currently the only available property for that would be ItemsPanelMinWidth StartScreenTabControl. Would that solve your issue/question?
zthking
@zthking
Thanks @batzen ! It works for me but looks a little weird. That property will affect the width of the right content. It will be nice if we can edit the width of the left content. The property LeftContentMargin currently does not work appropriately.
image.png
zthking
@zthking
I am actually trying to implement the word starting page.
image.png
Bastian Schmidt
@batzen
@zthking which property values did you use and which version of Fluent.Ribbon are you using? Could you share your project?
Bastian Schmidt
@batzen
@/all just released the first preview of version 8.0 https://www.nuget.org/packages/Fluent.Ribbon/8.0.0-alpha0077
zthking
@zthking
@batzen It turns out that there is an error in my code. You are right. The property ItemsPanelMinWidth StartScreenTabControl can be used to customize the width of the left panel and right panel. However, it may be a good idea to improve some features of the start window in the future. I personally like the start window from Microsoft Word. I eventually decide to create a new shell for the start page instead of using the start window.
Matheuslaville
@Matheuslaville
Can anyone teach how to do the step by step to install? I already downloaded the ZIP version and it got corrupted and I can't use or run it as an administrator, I don't understand this technical English, so it's hard to know how, I went to the site, I already downloaded the NUPKG and tried, but it didn't work, someone can to help?
Bastian Schmidt
@batzen
@Matheuslaville Hi. Which zip did you download?
Matheuslaville
@Matheuslaville
image.png
image.png
Yes, but I can't setu it, becausa here show what is "corrupted or unreadable".
**because
Bastian Schmidt
@batzen
If you used the windows integrated unzip/uncompress you might have to unlock the zip file before extracting it. That option should be in the file properties of the zip file. And you need a current version of visual studio 2019 to open the solution. Hope that helps.
Matheuslaville
@Matheuslaville
I installed 'Virtual Studio 2019', but I'm lost to configure it, opened the program codes, I've already cloned the link, I've run it as an administrator, but since I'm learning the English language, however, it's complicated to understand what I should do it, I speak Portuguese, I'm Brazilian, it's very complicated and hard to understand, I've tried all these steps, but it's not so easy that even the Open Live Writer that opened the Setup set up and started, I'm having difficulty, if not too much abuse could you please help me?
Bastian Schmidt
@batzen
@/all Just published Fluent.Ribbon 8.0
Jan Karger ツ ☀
@punker76
@batzen :thumbsup:
tm1k
@tm1k
does anybody have experience of showing an image in the ribbon bar which is bound to the right corner of the window?
3aughtmaxon
@3aughtmaxon
Hi, a while ago I posted an regarding themes propagating to items inside expanders but didn't follow up. Here's my issue:
<Fluent:RibbonWindow x:Class="TestWPF.MainWindow"
        x:Name="ribbonWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:TestWPF"
        xmlns:Fluent="urn:fluent-ribbon"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <DockPanel>
        <Fluent:Ribbon DockPanel.Dock="Top">
            <Fluent:Ribbon.Menu>
                <Fluent:ApplicationMenu Header="File">
                    <Fluent:MenuItem Header="Save"/>
                </Fluent:ApplicationMenu>
            </Fluent:Ribbon.Menu>
            <Fluent:RibbonTabItem Header="Main" x:Name="MainTab">
                <Fluent:RibbonGroupBox Header="File">
                    <Fluent:ComboBox Header="Theme" Size="Large" ItemsSource="{Binding ThemeList,ElementName=ribbonWindow}" SelectedIndex="{Binding SelectedThemeIndex,ElementName=ribbonWindow}"/>
                </Fluent:RibbonGroupBox>

            </Fluent:RibbonTabItem>
        </Fluent:Ribbon>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Expander Header="Expander Header">
                <StackPanel>
                    <TextBlock>TextBlock Inside Expander</TextBlock>
                    <TextBlock>TextBlock Inside Expander 2</TextBlock>
                </StackPanel>
            </Expander>
            <StackPanel Grid.Column="1">
                <TextBlock>TextBlock Outside Expander</TextBlock>
                <TextBlock>TextBlock Outside Expander 2</TextBlock>
            </StackPanel>
        </Grid>
    </DockPanel>
</Fluent:RibbonWindow>
    public partial class MainWindow
    {
        public MainWindow()
        {
            InitializeComponent();

        }
        public string[] ThemeList
        {
            get
            {
                string[] Themes = new string[ThemeManager.Current.Themes.Count];
                for (int i = 0; i < Themes.Length; i++)
                    Themes[i] = ThemeManager.Current.Themes[i].DisplayName;

                return Themes;
            }
        }
        public int SelectedThemeIndex
        {
            get { return _SelectedThemeIndex; }
            set
            {
                _SelectedThemeIndex = value;
                ThemeManager.Current.ChangeTheme(Application.Current, ThemeManager.Current.Themes[value]);
            }
        }
        int _SelectedThemeIndex = 0;
image.png

When changing the theme, the text inside the expander does not change color. I've observed this behavior with other properties as well, such as Background. How can I make it so that the themes work inside the expander as well?

Thanks!

Bastian Schmidt
@batzen
@3aughtmaxon You will have to override the wpf default themes. Fluent.Ribbon does not touch styles outside the ribbon itself.
@tm1k I don't fully understand what you are trying to achieve. Could you be a bit more specific? Maybe even add a screenshot of what it should look like?
Tim
@timunie

@/all The new ThemeManager got a documentation. See: https://github.com/ControlzEx/ControlzEx/blob/develop/Wiki/ThemeManager.md

Happy theming

Tim