Show / Hide Table of Contents

Class TextBlockExtensions

Contains extension methods for the System.Windows.Controls.TextBlock class.

Inheritance
System.Object
TextBlockExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls.Extensions
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class TextBlockExtensions

Methods

View Source

IsTextTrimmed(TextBlock)

Indicates whether the content of the textBlock is trimmed.

Declaration
public static bool IsTextTrimmed(this TextBlock textBlock)
Parameters
Type Name Description
System.Windows.Controls.TextBlock textBlock

The System.Windows.Controls.TextBlock.

Returns
Type Description
System.Boolean

True if the content of the textBlock is trimmed, otherwise false.

  • View Source
Back to top Generated by DocFX