Share via


TextBlock.IsTextTrimmed Property

Definition

Gets a value that indicates whether the control has trimmed text that overflows the content area.

public:
 property bool IsTextTrimmed { bool get(); };
bool IsTextTrimmed();
public bool IsTextTrimmed { get; }
var boolean = textBlock.isTextTrimmed;
Public ReadOnly Property IsTextTrimmed As Boolean

Property Value

Boolean

bool

true if text is trimmed; otherwise, false.

Remarks

See the TextTrimming property and TextTrimming enumeration for more info about how text is trimmed.

Applies to

See also