TextBlock.OnRender(DrawingContext) Método

Definición

Representa el contenido de TextBlock.Renders the contents of a TextBlock.

protected:
 override void OnRender(System::Windows::Media::DrawingContext ^ ctx);
protected override sealed void OnRender (System.Windows.Media.DrawingContext ctx);
override this.OnRender : System.Windows.Media.DrawingContext -> unit
Protected Overrides NotOverridable Sub OnRender (ctx As DrawingContext)

Parámetros

ctx
DrawingContext

DrawingContext en el que se va a representar el control.The DrawingContext to render the control on.

Excepciones

ctx es null.ctx is null.

Comentarios

El sistema de diseño invoca este método para representar el contenido de TextBlock .This method is invoked by the layout system to render the contents of the TextBlock.

Se aplica a