TextBlock Constructor (Inline^)
.NET Framework (current version)
Initializes a new instance of the TextBlock class, adding a specified Inline element as the initial display content.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | inline is null. |
Valid input types for inline include AnchoredBlock, InlineUIContainer, LineBreak, Run, and Span.
.NET Framework
Available since 3.0
Available since 3.0
Show: