RibbonDropDown..::.SizeString Property (2007 System)
This page is specific to:.NET Framework Version:3.54.0
Visual Studio Tools for Office API Reference
RibbonDropDown..::.SizeString Property (2007 System)

Gets or sets a string that determines the size of the RibbonDropDown.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax

'Usage

Dim instance As RibbonDropDown
Dim value As String

value = instance.SizeString

instance.SizeString = value

'Declaration

Public Property SizeString As String

Property Value

Type: System..::.String
A string, the length of which determines the size of this RibbonDropDown.
Remarks

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.

Permissions

See Also

Reference

Other Resources

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View