RibbonComboBox.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text of the currently selected item.
public:
property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String
Property Value
The text of the item that is displayed in the selection box. The registered default is an Empty string. For more information about what can influence the value, see Dependency Property Value Precedence.
Remarks
When there is no SelectionBoxItem and IsEditable is true
, this property represents the text entered in the text box. When IsEditable is false
, this property represents the string version of the selected item.
Dependency Property Information
Item | Value |
---|---|
Identifier field | TextProperty |
Metadata properties set to true |
None |