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 자식이거나 ContentElement 의 직접 하위 IContentHost항목인 이어야 합니다.)

적용 대상