/// <summary> /// insert all the oranization properties /// </summary> private void addPropToDrop() { NewCategoryProp.Items.Clear(); Property p = new Property(); allProp = p.getAllProp(email); foreach (KeyValuePair<string, int> pair in allProp) { NewCategoryProp.Items.Add(pair.Key); } }