Hello.
You can get property of any web part in any page template in code-behind using this code:
// Get proper PageTemplateInfo object
CMS.PortalEngine.PageTemplateInfo iPageTemp = null;
iPageTemp = CMS.PortalEngine.PageTemplateInfoProvider.GetPageTemplateInfo("pageTemplateName");
// Get web part instance
CMS.PortalEngine.WebPartInstance iWebPart = iWebPart = iPageTemp.GetWebPart("properCodeName");
// return required value
string iProperty = (string)iWebPart.GetValue("propertyName");
Best Regards,
Radek Macalik