<PackageReference Include="Relativity.API" Version="20.0.0" />

PageMode

public enum PageMode
Indicates the step in the page workflow in which a call to the event handler originates.
Edit = 2

Indicates the edit page mode.

List = 3

Indicate the list page mode.

Unknown = 0

Indicates an unknown or unspecified page mode.

View = 1

Indicates the view page mode.