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

Encapsulates state information and zero or more ICommands into an attachable object.
This is an infrastructure class. Behavior authors should derive from Behavior<T> instead of from this class.
상속: InteractivityBase
파일 보기 프로젝트 열기: jlaanstra/Windows.UI.Interactivity

공개 메소드들

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

Attaches to the specified object.

Detach ( ) : void

Detaches this instance from its associated object.

비공개 메소드들

메소드 설명
Behavior ( Type associatedObjectTypeConstraint ) : System

메소드 상세

Attach() 공개 메소드

Attaches to the specified object.
The Behavior is already hosted on a different element. dependencyObject does not satisfy the Behavior 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