Coder Social home page Coder Social logo

Comments (13)

batzen avatar batzen commented on May 17, 2024

Maybe it's caused by AutomaticStateManagement. Try to disable it and see if it works. It might be caused by Blend.

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Sorry for the noob question, but how does one disable AutomaticStateManagement?

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

That's no noob question ;-).
The ribbon has a property AutomaticStateManagement, just set it to false.

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Ok. Thanks. I will have a look at this latter when I get back to my normal PC and I will let you know how I get on. Thanks for your help though batzen.

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Worked like a charm. May be a case for having this default to False rather than True. I leave it with you!.

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

Why close this?
It seems that we are handling state management while one is using blend, which is wrong.
Did you just use the code you posted above or is there anything else in your project that might cause this behavior? Maybe you could add a repro, tell me which version of blend you are using or if this also happens in the visual studio designer and I will see if I can find and fix the bug.

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Sorry, you make a valid point. It seems to work fine in Visual Studio (true/false), however, in Blend for Visual Studio 2012 it doesn't work unless AutomaticStateManagement set to False.

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Apart from setting a few buttons in the Ribbon itself there is nothing else in the project yet. I am just using it from scratch and will put in the rest when I get chance at another time so it really is basic at the moment. I can give you the .xaml file if you want. Is there anyway I could attach the xaml file or send it to you so you can see? I personally don't think it will change anything.

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

Then I will try to figure out why this happens. I guess we don't detect design time properly when blend is used.

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

I guessed correctly. We don't prevent state load and save while in design mode. Will fix this.

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

Should be fixed. Could you verify that please?

from fluent.ribbon.

casserlyprogramming avatar casserlyprogramming commented on May 17, 2024

Just a quick question. Has the RibbonWindow been removed from the assembly as I am getting the error that the tab RibbonWindow does not exist in XML Namespace.

from fluent.ribbon.

batzen avatar batzen commented on May 17, 2024

I did not remove that one. But I noticed that the introduction of CalculatedHeight caused the designer to fail to render properly. Fixed that issue a few seconds ago.

from fluent.ribbon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.