IContentHost.GetRectangles(ContentElement) メソッド

定義

子要素の外接する四角形のコレクションを返します。

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)

パラメーター

child
ContentElement

外接する四角形が返される子要素。

返品

子要素の外接する四角形のコレクション。

例外

が null の場合。

要素が直接子孫でない場合 (つまり、要素はIContentHostの子であるか、IContentHostの直接の子孫であるContentElementである必要があります)。

適用対象