Thank you for writing back.
When you construct the items in RadCommandBar
at design time, the CommandBarStripElement
calculates its DesiredLocation
considering the items' Text
. If you change the text of a certain item from the left strip element to a longer string, the DesiredLocation
for the second strip will remain with the previous X
value. That is why when you start shrinking the form the second strip element will try to get to its DesiredLocation
. The possible solution that I can suggest is to adjust the DesiredLocation
of the right strip element after changing the text.
"Modified Button 2"
commandBarStripElement2.DesiredLocation = commandBarStripElement2.Location;
I hope this information helps. If you have any additional questions, please let me know.