Show / Hide Table of Contents

Class TextBlockExtensions

Contains extension methods for the TextBlock class.

Inheritance
object
TextBlockExtensions
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
[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 textBlock is trimmed, otherwise false.

  • View Source
Back to top Generated by DocFX