Namespace:
Microsoft.Office.Tools.Ribbon
Assembly:
Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Visual Basic (Declaration)
Public Property SizeString As String
Dim instance As RibbonDropDown
Dim value As String
value = instance.SizeString
instance.SizeString = value
public string SizeString { get; set; }
When you set the SizeString property in the Ribbon Designer, Visual Studio Tools for Office tries to size the RibbonDropDown so that it will be large enough to display the entire string. Although Visual Studio Tools for Office allows a string of up to 1024 characters in length, in practice the usable string length might be much shorter.
This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.
Reference
Other Resources