.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Toolbar inside custom Ribbon - AUTOCAD 2010

1 REPLY 1
Reply
Message 1 of 2
Anonymous
628 Views, 1 Reply

Toolbar inside custom Ribbon - AUTOCAD 2010

I need to create buttons having the similar look and feel of the buttons in View panel as shown in the attachment in my custom tab /panel in Autocad 2010.

The buttons shown in the attachment display only images and no text and are grouped together in a row inside the panel. The collection resembles a toolbar inside the ribbon panel. Any ideas on how to implement this using .net?

Thanks.

1 REPLY 1
Message 2 of 2
Irvin
in reply to: Anonymous

Hi there

 

Here is how you can achive your goal:

 

Set te button not to display text and you got what you want

 

RibbonRowPanel pan1row1 = new RibbonRowPanel();
            pan1row1.Items.Add(pan1button2);

            pan1row1.Items.Add(pan1button3);

            pan1row1.Items.Add(pan1button4);
            pan1row1.Items.Add(new RibbonRowBreak());
            pan1row1.Items.Add(pan1button5);

            pan1row1.Items.Add(pan1button6);
            pan1row1.Items.Add(pan1button7);

            pan1row1.Items.Add(new RibbonRowBreak());
            pan1row1.Items.Add(pan1button8);
            pan1row1.Items.Add(pan1button9);

            pan1row1.Items.Add(pan1button0);

            panel1Panel.Items.Add(pan1row1);

Kind regards,

 

Irvin

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost