RibbonEditBox.SizeString Property
Gets or sets a string that determines the size of the RibbonEditBox.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Property SizeString As String
string SizeString { get; set; }
Property Value
Type: System.String
A string, the length of which determines the size of this RibbonEditBox.
Remarks
When you set the SizeString property in the Ribbon Designer, Visual Studio tries to size the RibbonEditBox so that it will be large enough to display the entire string. Although Visual Studio 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace