PageMode public enum PageMode Indicates the step in the page workflow in which a call to the event handler originates. Documentation Edit = 2 Indicates the edit page mode. View = 1 Indicates the view page mode.