public virtual Type GetStylePropertyTargetType(IPropertyId propertyKey) { Type stylePropertyTargetType; try { PlatformTypes platformMetadata = this.typeResolver.PlatformMetadata as PlatformTypes; stylePropertyTargetType = platformMetadata.GetStylePropertyTargetType(this.BaseType, propertyKey); } catch (Exception exception) { return(null); } return(stylePropertyTargetType); }