Share via


RibbonComboBox.Text Property (2007 System)

Gets or sets the text that appears in this RibbonComboBox.

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

Syntax

'Declaration
Public Property Text As String
'Usage
Dim instance As RibbonComboBox 
Dim value As String 

value = instance.Text

instance.Text = value
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
public function get Text () : String 
public function set Text (value : String)

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 Class

RibbonComboBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview