C# 클래스 Caliburn.Micro.Action

A host for action related attached properties.
파일 보기 프로젝트 열기: Caliburn-Micro/Caliburn.Micro 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TargetProperty global::Xamarin.Forms.BindableProperty
TargetWithoutContextProperty global::Xamarin.Forms.BindableProperty

공개 메소드들

메소드 설명
GetTarget ( global::Xamarin.Forms.BindableObject d ) : object

Gets the target for instances of ActionMessage .

GetTargetWithoutContext ( global::Xamarin.Forms.BindableObject d ) : object

Gets the target for instances of ActionMessage .

HasTargetSet ( global::Xamarin.Forms.BindableObject element ) : bool

Checks if the ActionMessage -Target was set.

Invoke ( object target, string methodName, global::Xamarin.Forms.BindableObject view = null, global::Xamarin.Forms.VisualElement source = null, object eventArgs = null, object parameters = null ) : void

Uses the action pipeline to invoke the method.

SetTarget ( global::Xamarin.Forms.BindableObject d, object target ) : void

Sets the target of the ActionMessage .

SetTargetWithoutContext ( global::Xamarin.Forms.BindableObject d, object target ) : void

Sets the target of the ActionMessage .

The DataContext will not be set.

비공개 메소드들

메소드 설명
OnTargetChanged ( global::Xamarin.Forms.BindableObject d, DependencyPropertyChangedEventArgs e ) : void
OnTargetWithoutContextChanged ( global::Xamarin.Forms.BindableObject d, DependencyPropertyChangedEventArgs e ) : void
SetTargetCore ( DependencyPropertyChangedEventArgs e, global::Xamarin.Forms.BindableObject d, bool setContext ) : void

메소드 상세

GetTarget() 공개 정적인 메소드

Gets the target for instances of ActionMessage .
public static GetTarget ( global::Xamarin.Forms.BindableObject d ) : object
d global::Xamarin.Forms.BindableObject The element to which the target is attached.
리턴 object

GetTargetWithoutContext() 공개 정적인 메소드

Gets the target for instances of ActionMessage .
public static GetTargetWithoutContext ( global::Xamarin.Forms.BindableObject d ) : object
d global::Xamarin.Forms.BindableObject The element to which the target is attached.
리턴 object

HasTargetSet() 공개 정적인 메소드

Checks if the ActionMessage -Target was set.
public static HasTargetSet ( global::Xamarin.Forms.BindableObject element ) : bool
element global::Xamarin.Forms.BindableObject DependencyObject to check
리턴 bool

Invoke() 공개 정적인 메소드

Uses the action pipeline to invoke the method.
public static Invoke ( object target, string methodName, global::Xamarin.Forms.BindableObject view = null, global::Xamarin.Forms.VisualElement source = null, object eventArgs = null, object parameters = null ) : void
target object The object instance to invoke the method on.
methodName string The name of the method to invoke.
view global::Xamarin.Forms.BindableObject The view.
source global::Xamarin.Forms.VisualElement The source of the invocation.
eventArgs object The event args.
parameters object The method parameters.
리턴 void

SetTarget() 공개 정적인 메소드

Sets the target of the ActionMessage .
public static SetTarget ( global::Xamarin.Forms.BindableObject d, object target ) : void
d global::Xamarin.Forms.BindableObject The element to attach the target to.
target object The target for instances of .
리턴 void

SetTargetWithoutContext() 공개 정적인 메소드

Sets the target of the ActionMessage .
The DataContext will not be set.
public static SetTargetWithoutContext ( global::Xamarin.Forms.BindableObject d, object target ) : void
d global::Xamarin.Forms.BindableObject The element to attach the target to.
target object The target for instances of .
리턴 void

프로퍼티 상세

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

A property definition representing the target of an ActionMessage . The DataContext of the element will be set to this instance.
public static global::Xamarin.Forms.BindableProperty TargetProperty
리턴 global::Xamarin.Forms.BindableProperty

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

A property definition representing the target of an ActionMessage . The DataContext of the element is not set to this instance.
public static global::Xamarin.Forms.BindableProperty TargetWithoutContextProperty
리턴 global::Xamarin.Forms.BindableProperty