TextBlock.GetRectanglesCore(ContentElement) Método

Definición

Devuelve una colección de rectángulos delimitadores de sólo lectura para el objeto ContentElement especificado.

protected:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ GetRectanglesCore(System::Windows::ContentElement ^ child);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> GetRectanglesCore (System.Windows.ContentElement child);
abstract member GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.GetRectanglesCore : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Protected Overridable Function GetRectanglesCore (child As ContentElement) As ReadOnlyCollection(Of Rect)

Parámetros

child
ContentElement

ContentElement para el que se va a generar y devolver una colección de rectángulos delimitadores.

Devoluciones

ReadOnlyCollection<Rect>

Colección de rectángulos delimitadores de sólo lectura para el objeto ContentElement especificado.

Excepciones

child es null.

Comentarios

Cada rectángulo delimitador de la colección corresponde a una línea de contenido de ContentElement.

Se aplica a