Dela via


RibbonTwoLineText.TextTrimming Property

Gets or sets the text trimming behavior to use when content overflows the content area.

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

Syntax

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

Property Value

Type: System.Windows.TextTrimming
One of the enumeration values that specifies the text trimming behavior to use when content overflows the content area. The default is TextTrimming.None.

Dependency Property Information

Identifier field

TextTrimmingProperty

Metadata properties set to true

None

Remarks

This property gets or sets the value of the TextTrimming property of the control’s internal TextBlock. For more information, see TextBlock.TextTrimming.

.NET Framework Security

See Also

Reference

RibbonTwoLineText Class

Microsoft.Windows.Controls.Ribbon Namespace