TextBlock.IContentHost.GetRectangles(ContentElement) Yöntem

Tanım

Bu yöntem Windows Presentation Foundation (WPF) altyapısını destekler ve doğrudan kodunuzdan kullanılması amaçlanmamıştır. Bunun yerine tür güvenli GetRectanglesCore(ContentElement) yöntemini kullanın.

 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Rect> ^ System.Windows.IContentHost.GetRectangles(System::Windows::ContentElement ^ child) = System::Windows::IContentHost::GetRectangles;
System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect> IContentHost.GetRectangles(System.Windows.ContentElement child);
abstract member System.Windows.IContentHost.GetRectangles : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
override this.System.Windows.IContentHost.GetRectangles : System.Windows.ContentElement -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Rect>
Function GetRectangles (child As ContentElement) As ReadOnlyCollection(Of Rect) Implements IContentHost.GetRectangles

Parametreler

child
ContentElement

Sınırlayıcı ContentElement dikdörtgenlerden oluşan bir koleksiyon oluşturup döndürmek için bir.

Döndürülenler

Belirtilen ContentElementiçin sınırlayıcı dikdörtgenlerden oluşan salt okunur bir koleksiyon.

Uygulamalar

Şunlara uygulanır