Giter Site home page Giter Site logo

ribbonlib's Introduction

logo

Windows Ribbon for WinForms

Windows Ribbon for WinForms is a .NET wrapper for Windows Ribbon control. It will allow WinForms developers to use Microsoft Windows Ribbon control in their WinForms applications.

The project includes the library RibbonLib, which adds support for Windows Ribbon to WinForms application.

Build status NuGet


See the changelog for changes.

Table of contents

Implementing

Add the library to your project

Add the NuGet Package. Right click on your project and click 'Manage NuGet Packages...'. Search for 'RibbonLib' and click on install. Once installed the library will be included in your project references. (Or install it through the package manager console: PM> Install-Package RibbonLib).

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

No more documentation required for now.

License

Code released under Microsoft Public License (Ms-PL)

ribbonlib's People

Contributors

ennerperez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ribbonlib's Issues

AccessViolationException when using RibbonDropDownColorPicker in 64-bit

Assigning an array of strings to the RibbonDropDownColorPicker.ThemeColorsTooltips property will cause an AccessViolationException when the application is executed as a 64-bit process. The exception occurs in line 640 of ColorPickerPropertiesProvider.cs, the call to UIRibbonFramework.SetUICommandProperty() in said property.

It can be reproduced with the following sample project:
RibbonLib.Sample.zip

This project is based on sample "11 - DropDownColorPicker" of the original Windows Ribbon for WinForms (https://windowsribbon.codeplex.com/). The only relevant change was that I disabled the "Prefer 32-bit" option in the project's properties. The original implementation has the same problem. It seems like array pointers in the PropVariant structure are marshalled incorrectly in 64-bit scenarios.

Won't run using Visual Studio 2017

Hello,

Im' already familiar with the original tool chain, so I was happy to see your NuGet-Package here on GitHub. However, I can't get it to run with Visual Studio 2017. Did you ever try it using Visual Studio 2017?

I tried using VS2015 and it seems to run fine there... Any thoughts?

Regards,
tajbender

Trying to use this

I have a project I am trying to get working created by someone who used the original RibbonLib. I am able to get your code installed and working from NuGet, but I run into some issues.

  1. They used an XML file called Ribbon.XML but this uses RibbonMarkup.XML. No worries, I just rename the file.
  2. They have a "SplitButton" tag that gets me this error in build: warning SC2001: Undefined Command on element.
  3. I get many errors in code
    <Ribbon.SizeDefinitions>

    warning SC1000: An invalid 'IsImageVisible' configuration has been found in the size definition 'sizeDefGrpParagraph'. A control in a smaller layout cannot have a size larger than that of the same control in a larger layout.

Any ideas?

Thanks

VS 2017 rewrites designer.cs file

I am working with ribbonlib and when form[design] reloads it frequently rewrites or loses any changes I've made to form.designer.cs. Also, the lack of documentation is killing me. How can I capture the ribbon1.Minimized state to increase the height of my content and eliminate the blank space when the ribbon is minimized?

Latest source code missing

The source code in this GitHub Project is not the same like the source code in the Nuget package 2.7.9 (latest release).
In Nuget package I can see the AssemblyVersion 2.7.9 and the AssemblyFileVersion 2.7.9.
in this Project the AssemblyVersion is 2.7.0.* and the AssemblyFileVersion is 2.7.0.
There are also small changes in other files as one can see with Reflector.

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.