Relativity.API.Foundation.PageMode
Indicates the step in the page workflow in which a call to the event handler
originates.
Edit = 2
Indicates the edit page mode.
View = 1
Indicates the view page mode.