这是确定项目的表示设置是否已被覆盖的一种方法:
var contextItemPresentationSettings = Sitecore.Context.Item["__Renderings"];
var standardValuesPresentationSettings = Sitecore.Context.Item.Template.StandardValues["__Renderings"];
var presentationSettingsMatch = contextItemPresentationSettings == standardValuesPresentationSettings;
是否有更好的方法来确定项目的演示设置是否已被覆盖?