'宣言 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 が配置される絶対位置。