private IDictionary GetExtendedProperties()
{
var extendedProperties = ComponentModel.ExtendedProperties;
if (extendedProperties != null && extendedProperties.Count > 0)
{
#if !SILVERLIGHT
if (extendedProperties is ICloneable)
{
extendedProperties = (IDictionary)((ICloneable)extendedProperties).Clone();
}
#endif
extendedProperties = new Arguments(extendedProperties);
}
return extendedProperties;
}