public virtual ViewPage GetViewPage() { View.EntityInfo = FormContext.EntityModelInfo; View.Actions = FormContext.Actions.ActionButtons; View.Layout = FormContext.GetLayoutView(); return(View); }