Enum DataFormAction
The action of a data-form, as a result of a button or mouse item click, or any other cause.
[Flags]
public enum DataFormAction
- Extension Methods
Fields
Cancel = 64Cancel.
In a IsList form: Sets the modal result to Cancel.
In a IsMaster form: When the form is in FormState.List then if the form is modal then it sets the modal result to Cancel. Else, if non-modal, then it closes the form.
In a IsMaster form: When the form is in FormState.Insert | FormState.Edit then it cancels the edit operation.
Close = 256Close.
Closes the form.
Delete = 8Delete. Deletes the selected row.
Can be called from both parts.
Edit = 4Edit. Hides the list part. Displays the item part in edit mode, having selected the current row for editing.
Can be called from list part only.
Find = 1024Find. Valid in list part only. Toggles the visibility of the filters sidebar.
Home = 512Home. Displays the drop-down of the home button
Insert = 2Insert. Hides the list part. Displays the item part in insert mode, for a new row to be added.
Can be called from both parts.
List = 1List. Hides the item part. Displays the list part.
Can be called from item part only.
None = 0None
Ok = 128OK.
In a IsList form: It saves any changes.
In any form mode: If it is modal then it sets the modal result to OK, else just closes the form.
Refresh = 16Refresh. Reloads the current row from the database.
Can be called from item part in edit mode only.
RefreshList = 4096RefreshList Hides the item part. Displays the list part after executing the selected SELECT.
Save = 32Save. Saves the changes made in the current row.
Can be called from item part only.
ToggleIds = 2048Toggles visibility of list GroupGrid columns ending with ID.