Method Push
Push(VisualElement, Action, StackViewOperation)
Pushes an item onto the stack using an optional operation.
Declaration
public StackViewItem Push(VisualElement item, Action callback = null, StackViewOperation operation = StackViewOperation.PushTransition)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | item | The item to push onto the stack. |
| Action | callback | The callback to call when the operation is completed. |
| StackViewOperation | operation | The type of transition to use during the process. |
Returns
| Type | Description |
|---|---|
| StackViewItem | Returns the item that became current. |