Message 1 of 5

Not applicable
07-20-2014
06:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following code to create an RibbonButton.
This way buttons appeats side by side.
How can I put them in columns of 3 in each columns, followed verically and not just side by side horizontaly?
Autodesk.Windows.RibbonButton button = new RibbonButton(); button.Text = displayName; button.Size = ribbonItemSize; button.Orientation = System.Windows.Controls.Orientation.Horizontal; button.Image = getBitmap(standardBitmap, 16, 16); button.LargeImage = getBitmap(largeBitmap, 32, 32); button.ShowText = showText; button.CommandParameter = commandParameter;
Thanks & Regards,
Rui
Solved! Go to Solution.