ExtensionMethods.IsTrimmed(UIElement) Method

Definition

Checks whether the control is a TextBlock whose text is trimmed (and ellipses are displayed)

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsTrimmed(System::Windows::UIElement ^ element);
public static bool IsTrimmed (this System.Windows.UIElement element);
static member IsTrimmed : System.Windows.UIElement -> bool
<Extension()>
Public Function IsTrimmed (element As UIElement) As Boolean

Parameters

element
UIElement

The element.

Returns

True if the control is a TextBlock whose text is trimmed (and ellipses are displayed).

Applies to