ExtensionMethods.IsTrimmed(UIElement) Method
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.
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).