Hi everybody, i have a ribbon control on a form... I create a ribbon group that contain two PopupMenuTools, three ButtonTools and one LabelTool. Those controls are grouped in three diferents buttonGroups (using InstanceProps.ButtonGroup) in the way PopupMenuTools-ButtonTool (for the first and second line) and LabelTool-ButtonTool for the third one. As you can see in the image the two first lines doesn't match the size of the third. I'd like to make all the lines the same size, is there anyway to do that ?? I've heard about creation filters but i don't know how to do that?
Any help ?
PD: Sorry for my english.
Hello ,
I do not think that you should use creation filter for this. UltraToolbarsManager.Tools[“tool key”] has a property SharedProps where you could determine Width, MinWidth and MaxWidth for the selected tool.
Let me know if you have any further questions.
Sincerely,
Hristo
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Hello again,
When i try to do this i get an InvalidOperationException: "The Width property cannot be set for a Infragistics.Win.UltraWinToolbars.PopupMenuTool tool."
I tried to do using SharedProps and even InstanceProps, but i get the same error in both cases.
I'd already tried this and didn't work, so I was exploring ways to make it through the creation filters.
Other solution ??