Basic Library for WPF/Silverlight
TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double) メソッド

C1.WPF.4.5.2 アセンブリ > C1.WPF 名前空間 > PopupUtil クラス > TestPosition メソッド : TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double) メソッド
配置する要素。
配置する要素内のポイントを指定する Anchor値。
参照として使用する System.Windows.FrameworkElement
参照として使用される FrameworkElement 内のポイントを指定する Anchor値。
参照要素のオフセット(絶対位置)。
要素間の水平方向の重なり(コーナーマッチングに使用)。
要素間の垂直方向の重なり(コーナーマッチングに使用)。
FrameworkElement 内の指定されたポイントが別の FrameworkElement 内の指定されたポイントと一致するように、 System.Windows.FrameworkElementの位置を計算します。
シンタックス
'宣言
 
Public Overloads Shared Function TestPosition( _
   ByVal positionElement As System.Windows.FrameworkElement, _
   ByVal positionAnchor As Anchor, _
   ByVal element As System.Windows.FrameworkElement, _
   ByVal elementAnchor As Anchor, _
   ByVal elementOffset As System.Windows.Point, _
   ByVal overlapHorizontal As System.Double, _
   ByVal overlapVertical As System.Double _
) As System.Windows.Point
public static System.Windows.Point TestPosition( 
   System.Windows.FrameworkElement positionElement,
   Anchor positionAnchor,
   System.Windows.FrameworkElement element,
   Anchor elementAnchor,
   System.Windows.Point elementOffset,
   System.double overlapHorizontal,
   System.double overlapVertical
)

パラメータ

positionElement
配置する要素。
positionAnchor
配置する要素内のポイントを指定する Anchor値。
element
参照として使用する System.Windows.FrameworkElement
elementAnchor
参照として使用される FrameworkElement 内のポイントを指定する Anchor値。
elementOffset
参照要素のオフセット(絶対位置)。
overlapHorizontal
要素間の水平方向の重なり(コーナーマッチングに使用)。
overlapVertical
要素間の垂直方向の重なり(コーナーマッチングに使用)。

戻り値の型

FrameworkElement が配置される絶対位置。
参照

PopupUtil クラス
PopupUtil メンバ
オーバーロード一覧