ToolActionEventArgs 생성자 (ToolAction, EventArgs, InputDevice, Int32)

ToolActionEventArgs 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.Windows.Design.Interaction
어셈블리:  Microsoft.Windows.Design.Interaction(Microsoft.Windows.Design.Interaction.dll)

구문

‘선언
Public Sub New ( _
    toolAction As ToolAction, _
    sourceEvent As EventArgs, _
    inputDevice As InputDevice, _
    timestamp As Integer _
)
public ToolActionEventArgs(
    ToolAction toolAction,
    EventArgs sourceEvent,
    InputDevice inputDevice,
    int timestamp
)
public:
ToolActionEventArgs(
    ToolAction toolAction, 
    EventArgs^ sourceEvent, 
    InputDevice^ inputDevice, 
    int timestamp
)
new : 
        toolAction:ToolAction * 
        sourceEvent:EventArgs * 
        inputDevice:InputDevice * 
        timestamp:int -> ToolActionEventArgs
public function ToolActionEventArgs(
    toolAction : ToolAction, 
    sourceEvent : EventArgs, 
    inputDevice : InputDevice, 
    timestamp : int
)

매개 변수

  • sourceEvent
    형식: System.EventArgs
    이 동작을 발생시킨 이벤트입니다.
  • timestamp
    형식: System.Int32
    입력이 이루어진 시간입니다.

예외

예외 상황
ArgumentNullException

sourceEvent는 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ToolActionEventArgs 클래스

ToolActionEventArgs 오버로드

Microsoft.Windows.Design.Interaction 네임스페이스

기타 리소스

WPF Designer 확장성

도구 아키텍처