...
Code Block |
---|
Builder.Add .Action("DeletePerson") .Body(DeletePerson) |
Actions with Parameters
Some action require more context than other to work properly.
...
This will lead to a popup once the action is invoked and the user will have to fill out the popup before being able to execute the action.
Actions with Confirmation
If an action wants to display a warning or hint before executing an action the following method can be used:
...
Die Captions für die einzelnen Bereich können dabei auch leer gelassen werden um die Standardübersetzungen zu verwenden.
Placement of actions in a List
If an action is added to a list via LinkAction
the placement can be controlled with the following options:
Code Block |
---|
list.Add.LinkAction(metadata.Person.LowerCaseNameListAction).ShowInListSelection().IsOverflowByDefault(); list.Add.LinkAction(metadata.Person.UpperCaseNameListAction).ShowInListRow(); |
Placement of actions in a Detail
If an action is added directly to a detail layout the action will be displayed in the sidebar
...