TextBlock.GetRectanglesCore(ContentElement) Metoda

Definicja

Zwraca kolekcję tylko do odczytu powiązanych prostokątów dla określonego ContentElementelementu .

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)

Parametry

child
ContentElement

Element ContentElement , dla którego należy wygenerować i zwrócić kolekcję prostokątów ograniczenia.

Zwraca

ReadOnlyCollection<Rect>

Kolekcja prostokątów ograniczonych tylko do odczytu dla określonego ContentElementelementu .

Wyjątki

child to null.

Uwagi

Każdy prostokąt ograniczenia w kolekcji odpowiada wierszowi zawartości w obiekcie ContentElement.

Dotyczy