RibbonTwoLineText.Text Property

Gets or sets the text content in this element.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property Text As String
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String
function set Text (value : String)

Property Value

Type: System.String
The text content in this element. The registered default is an Empty string. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

TextProperty

Metadata properties set to true

AffectsMeasure

.NET Framework Security

See Also

Reference

RibbonTwoLineText Class

Microsoft.Windows.Controls.Ribbon Namespace