C# 클래스 Windows.UI.Interactivity.TriggerAction

Represents an attachable object that encapsulates a unit of functionality.
This is an infrastructure class. Action authors should derive from TriggerAction<T> instead of this class.
상속: InteractivityBase
파일 보기 프로젝트 열기: jlaanstra/Windows.UI.Interactivity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsEnabledProperty Windows.UI.Xaml.DependencyProperty

Private Properties

프로퍼티 타입 설명
CallInvoke void
TriggerAction System

공개 메소드들

메소드 설명
Attach ( FrameworkElement frameworkElement ) : void

Attaches to the specified object.

Detach ( ) : void

Detaches this instance from its associated object.

보호된 메소드들

메소드 설명
Invoke ( object parameter ) : void

Invokes the action.

비공개 메소드들

메소드 설명
CallInvoke ( object parameter ) : void

Attempts to invoke the action.

TriggerAction ( Type associatedObjectTypeConstraint ) : System

메소드 상세

Attach() 공개 메소드

Attaches to the specified object.
Cannot host the same TriggerAction on more than one object at a time. dependencyObject does not satisfy the TriggerAction type constraint.
public Attach ( FrameworkElement frameworkElement ) : void
frameworkElement Windows.UI.Xaml.FrameworkElement The object to attach to.
리턴 void

Detach() 공개 메소드

Detaches this instance from its associated object.
public Detach ( ) : void
리턴 void

Invoke() 보호된 추상적인 메소드

Invokes the action.
protected abstract Invoke ( object parameter ) : void
parameter object The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.
리턴 void

프로퍼티 상세

IsEnabledProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,Windows.UI.Xaml IsEnabledProperty
리턴 Windows.UI.Xaml.DependencyProperty