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

C1.WPF.4.5.2 アセンブリ > C1.WPF 名前空間 > PopupUtil クラス > TestPosition メソッド : TestPosition(FrameworkElement,Anchor,FrameworkElement,Anchor,Point,Double,Double,FlowDirection) メソッド
配置する要素。
配置する要素内のポイントを指定する Anchor値。
参照として使用する System.Windows.FrameworkElement
参照として使用される FrameworkElement 内のポイントを指定する Anchor値。
参照要素のオフセット(絶対位置)。
要素間の水平方向の重なり(コーナーマッチングに使用)。
要素間の垂直方向の重なり(コーナーマッチングに使用)。
計算に使用される FlowDirection。
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, _
   ByVal flowDir As System.Windows.FlowDirection _
) 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,
   System.Windows.FlowDirection flowDir
)

パラメータ

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

戻り値の型

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

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