In This Article

SelectTransitionCallback Delegate

Represents a delegate that returns a Transition based on custom logic, which can be used in conjunction with DelegateTransitionSelector.

public delegate Transition SelectTransitionCallback(TransitionPresenter presenter, object fromContent, object toContent)

Parameters

Name Type Description
presenter TransitionPresenter

The TransitionPresenter that is managing the transition.

fromContent object

The element from which a transition is occurring.

toContent object

The element to which a transition is occurring.

Returns

Type Description
Transition

Returns an application-specific Transition to apply; otherwise, null.

Constructors

SelectTransitionCallback(object, IntPtr)

public SelectTransitionCallback(object @object, IntPtr method)
Parameter Type Description
object object
method IntPtr

Methods

BeginInvoke(TransitionPresenter, object, object, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(TransitionPresenter presenter, object fromContent, object toContent, AsyncCallback callback, object @object)
Parameter Type Description
presenter TransitionPresenter
fromContent object
toContent object
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual Transition EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Returns

Transition

Invoke(TransitionPresenter, object, object)

public virtual Transition Invoke(TransitionPresenter presenter, object fromContent, object toContent)
Parameter Type Description
presenter TransitionPresenter
fromContent object
toContent object

Returns

Transition