private bool IsRoaming(SettingsProperty prop) { //Determine if the setting is marked as Roaming foreach (DictionaryEntry d in prop.Attributes) { var a = (Attribute)d.Value; if (a is SettingsManageabilityAttribute) { return true; } } return false; }