IContentHost Interface
TOC
Collapse the table of content
Expand the table of content

IContentHost Interface

 

This interface is implemented by layouts which host ContentElement.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public interface IContentHost

NameDescription
System_CAPS_pubpropertyHostedElements

Gets an enumeration containing all descendant ContentElement-derived classes, as well as all UIElement-derived classes that are a direct descendant of the IContentHost or one of its descendant ContentElement classes.

NameDescription
System_CAPS_pubmethodGetRectangles(ContentElement)

Returns a collection of bounding rectangles for a child element.

System_CAPS_pubmethodInputHitTest(Point)

Performs hit-testing for child elements.

System_CAPS_pubmethodOnChildDesiredSizeChanged(UIElement)

Called when a UIElement-derived class which is hosted by a IContentHost changes its DesiredSize.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft