IContentHost Interfejs

Definicja

Ten interfejs jest implementowany przez układy, które hostuje ContentElement.

public interface class IContentHost
public interface IContentHost
type IContentHost = interface
Public Interface IContentHost
Pochodne

Właściwości

HostedElements

Pobiera wyliczenie zawierające wszystkie klasy pochodne obiektów potomnych ContentElement, a także wszystkie UIElementklasy pochodne , które są bezpośrednim elementem potomnym IContentHost klasy lub jednej z jej klas potomnych ContentElement .

Metody

GetRectangles(ContentElement)

Zwraca kolekcję prostokątów ograniczenia dla elementu podrzędnego.

InputHitTest(Point)

Wykonuje testy trafień dla elementów podrzędnych.

OnChildDesiredSizeChanged(UIElement)

Wywoływana, gdy klasa pochodna UIElement, która jest hostowana przez element IContentHost , zmienia jego wartość DesiredSize.

Dotyczy