TextBlock::OnRender Method (DrawingContext^)
.NET Framework (current version)
Renders the contents of a TextBlock.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- ctx
-
Type:
System.Windows.Media::DrawingContext^
The DrawingContext to render the control on.
| Exception | Condition |
|---|---|
| ArgumentNullException | ctx is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: