Manipulation2DStartedEventArgs 클래스
정의
public ref class Manipulation2DStartedEventArgs : EventArgs
public class Manipulation2DStartedEventArgs : EventArgs
type Manipulation2DStartedEventArgs = class
inherit EventArgs
Public Class Manipulation2DStartedEventArgs
Inherits EventArgs
- 상속
예제
다음 예제에 대 한 이벤트 처리기는 Started 이벤트 확인 하 고 그럴 경우 관성 처리에서 실행 중인 경우 중지 합니다.In the following example, an event handler for the Started event checks to see if inertia processing is running and if so, stops it.
#region OnManipulationStarted
private void OnManipulationStarted(object sender, Manipulation2DStartedEventArgs e)
{
if (inertiaProcessor.IsRunning)
{
inertiaProcessor.Complete(Timestamp);
}
}
#endregion
#region Timestamp
private long Timestamp
{
get
{
// Get timestamp in 100-nanosecond units.
double nanosecondsPerTick = 1000000000.0 / System.Diagnostics.Stopwatch.Frequency;
return (long)(System.Diagnostics.Stopwatch.GetTimestamp() / nanosecondsPerTick / 100.0);
}
}
#endregion
속성
OriginX |
원점의 X 좌표를 가져옵니다.Gets the x-coordinate of the origin. |
OriginY |
원점의 Y 좌표를 가져옵니다.Gets the y-coordinate of the origin. |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |