ComponentOne Studio for WinRT XAML
GetPosition(UIElement) メソッド

同じオブジェクトツリーに接続された UIElement 派生オブジェクト。座標系全体に対するオブジェクトの位置を指定するには、relativeTo の値を null にします。
ドラッグジェスチャを実行しているポインタの指定された要素に対する相対的な位置を取得します。
構文
'宣言
 
Public Overloads Function GetPosition( _
   ByVal relativeTo As Windows.UI.Xaml.UIElement _
) As Windows.Foundation.Point
public Windows.Foundation.Point GetPosition( 
   Windows.UI.Xaml.UIElement relativeTo
)

パラメータ

relativeTo
同じオブジェクトツリーに接続された UIElement 派生オブジェクト。座標系全体に対するオブジェクトの位置を指定するには、relativeTo の値を null にします。
参照

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

 

 


Copyright © GrapeCity inc. All rights reserved.