Partager via


RibbonComboBox.Text Property

Gets or sets the text that appears in this RibbonComboBox.

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

Syntax

'Declaration
Property Text As String
string Text { get; set; }

Property Value

Type: System.String
The text that appears in the RibbonComboBox.

Remarks

If you change this property programmatically, the TextChanged event is not raised.

.NET Framework Security

See Also

Reference

RibbonComboBox Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview