Click or drag to resize

ExtensionsSetInlinedText Method

Set the inlined content of the TextBlock. This will clear the previous inline elements. If text is null then previous inline will also be cleared.

Namespace:  Cauldron.XAML
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static void SetInlinedText(
	this TextBlock textBlock,
	string text
)

Parameters

textBlock
Type: System.Windows.ControlsTextBlock
The TextBlock to set the inline elements to.
text
Type: SystemString
The XAML formated text.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TextBlock. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also