SPContext.RenderingFromCurrentMetainfo property
SharePoint 2013
Gets a value that indicates whether page rendering optimizations are in effect for the current context.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if page rendering optimizations are in effect; otherwise, false.