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

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

戻り値

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

例外

child が null である場合。

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

適用対象