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, nint)
public SelectTransitionCallback(object @object, nint method)
| Parameter | Type | Description |
|---|---|---|
| object | object | |
| method | nint |
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
EndInvoke(IAsyncResult)
public virtual Transition EndInvoke(IAsyncResult result)
| Parameter | Type | Description |
|---|---|---|
| result | IAsyncResult |
Returns
Invoke(TransitionPresenter, object, object)
public virtual Transition Invoke(TransitionPresenter presenter, object fromContent, object toContent)
| Parameter | Type | Description |
|---|---|---|
| presenter | TransitionPresenter | |
| fromContent | object | |
| toContent | object |