IContentHost.GetRectangles(ContentElement) Método

Definição

Devolve uma coleção de retângulos limitadores para um elemento filho.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ GetRectangles(System::Windows::ContentElement ^ child);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> GetRectangles(System.Windows.ContentElement child);
abstract member GetRectangles : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Public Function GetRectangles (child As ContentElement) As ReadOnlyCollection(Of Rect)

Parâmetros

child
ContentElement

O elemento filho para o qual os retângulos limitadores são devolvidos.

Devoluções

Uma coleção de retângulos delimitadores para um elemento filho.

Exceções

Se o filho for nulo.

Se o elemento não for descendente direto (ou seja, o elemento deve ser filho do IContentHost ou a ContentElement que é descendente direto do IContentHost).

Aplica-se a