Class TextBlockExtensions
Contains extension methods for the TextBlock class.
Namespace: Sartorius.SAF.Presentation.Controls.Extensions
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class TextBlockExtensions
Methods
View SourceIsTextTrimmed(TextBlock)
Indicates whether the content of the textBlock is trimmed.
Declaration
[SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Parameter textBlock is never null")]
public static bool IsTextTrimmed(this TextBlock textBlock)
Parameters
| Type | Name | Description |
|---|---|---|
| TextBlock | textBlock | The TextBlock. |
Returns
| Type | Description |
|---|---|
| bool | True if the content of the |