언어

CustomPopupPlacementCallback 대리자

정의

컨트롤에 대한 사용자 지정 위치를 제공하는 메서드를 Popup 나타냅니다.

public delegate cli::array <System::Windows::Controls::Primitives::CustomPopupPlacement> ^ CustomPopupPlacementCallback(Size popupSize, Size targetSize, Point offset);
public delegate System.Windows.Controls.Primitives.CustomPopupPlacement[] CustomPopupPlacementCallback(Size popupSize, Size targetSize, Point offset);
type CustomPopupPlacementCallback = delegate of Size * Size * Point -> CustomPopupPlacement[]
Public Delegate Function CustomPopupPlacementCallback(popupSize As Size, targetSize As Size, offset As Point) As CustomPopupPlacement() 

매개 변수

popupSize
Size

Size 컨트롤의 Popup

targetSize
Size

Size PlacementTarget.

offset
Point

Point 및 HorizontalOffset 속성 값에서 VerticalOffset 계산된 값입니다.

반환 값

컨트롤에 대해 CustomPopupPlacement 가능한 Popup 위치의 배열입니다PlacementTarget.

설명

팝업이 표시되면 표시되는 창의 ToolTip 양을 최대화하는 점이 선택됩니다. 및 ContextMenuPopup 클래스는 ToolTip각각 형식CustomPopupPlacementCallback의 속성을 정의합니다.

확장명 메서드

속성 Description
GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상

참고 항목